

From your Greenfoot lessons, what are the ways that you can view a class's methods? Mark for Review From your Greenfoot lessons, a problem statement defines the purpose for your game. In reference to Greenfoot, if the following method was defined in a superclass,Īll subclasses of the superclass will inherit the method.ġ. (*)Ī defined method only relates to the World class.ġ5. In Greenfoot, which of the following statement is true about Defined Methods? Mark for ReviewĪ defined method is automatically executed once created.Ī defined method is only relevant to the Greenfoot Development team.Ī defined method must be called by your source code, normally in the Act method. Defined methods are methods that are only created by the Greenfoot development team? Mark for Review In Java what is casting? Mark for ReviewĬasting is when we remove an object from the worldĬasting is when we want to tell the java compiler that a class we are accessing is really another type of class (*)Ĭasting is when we reset the state of an instance.Ĭasting is when we change the coordinates of an actorġ3.

Writing more generic statements to handle the creation and positioning of many objects is one Abstraction technique? Mark for Reviewġ2. From your Greenfoot lessons, abstraction techniques can only be used once in a class's source code. Which of the following Greenfoot logic operators represents "not"? Mark for Reviewġ0. (*)Ĭompares two boolean values, and returns a boolean value which is true if and only if one of its operands are true.ĩ. In the Greenfoot IDE, what does the AND operator (&) do? Mark for ReviewĬompares two boolean variables or expressions and returns a result that is true if either of its operands are true.Ĭompares two boolean values and returns a boolean value which is true if either one of the operands is true.Ĭompares two boolean values, and returns a boolean value which is true if and only if both of its operands are true.

From your Greenfoot lessons, what types of values cannot be stored in a local variable? Mark for Review In Greenfoot, which class has methods that allow you to get the status of the mouse? Mark for Review
#Greenfoot intersects code
In Greenfoot, the sound file must be saved in the scenario and written in the source code for it to play. SetImage (new GreenfootImage("Bee01.png")) Mark for ReviewĤ. From your Greenfoot lessons, what is the parameter of the following constructor that creates a new image, and designates it to the Actor class? Which Greenfoot control operator is used to test if two values are equal? Mark for Review In Greenfoot, constructors can be used to create new instances of objects.
