CS 1114 Lecture 3: CS-1114 - Notes - Week 3
Document Summary
Or not" are sometimes referred to as bang signs. Messages to objects (either predefined or new methods). Notes: allows jeroos to survey its environment and make subsequent decisions. Upcoming assessments: reading quiz iii due s, 9/17 at 23:59. Public class myjeroo extends jeroo public boolean isblocked() return !this. isclear(ahead); public void hop() super. hop(); if (this. seesflower(here)) this. pick(); What does this overriding definition of hop() do: hop forward, picking any flower the jeroo lands on. Homework: begin program i due th, 9/14 at 23:59; observe lab iii assignment due f, 9/15 at 16:30.