![]() it has no actions/methods in its act() method to begin withĭ. you can place a move() method in its act() methodĬ. a crab is an animal because it extends animalī. True True or False: If you place the move() outside of the braces in an if statement, in which there was a turn() and a move() previously, you still don't change the crab's behavior false True or false: All crabs which you place in the crab world will do identical actions? True Which is true about "public class Crab extends Animal" coding area:Ī. it causes the crab to turn True or False: every time you make a change to the code you must first click on compile, either in the code window or the world window. it causes the crab to turn 5 revolutions b. ![]() methods True or false: Boolean methods return true and false values, but not simutaneously True True or false: There are 8 methods listed in the animal class documentation area under the "method Summary" area False True or False: To find an error message, after making an error like leaving out a " " you would look on the crab's head false True or false: When first placing a crab in the crab world it moves when you click on "run" false When you type in the turn(5) method:ĭ. either true or false but not both indicates that the method does not return a value void the word before the method name return type of a method source code translation into machine code compilation all parameters have associated _ data types objects that can be placed into a world actors a method that asks a question has a _ return type boolean many objects can be created from one _ class Rocket is a _ of Mover subclass greenfoot code use the _ programing languate java mechanism to pass data to a method parameters specification showing method name, parameters and return type signature in order to make an object do something, you need to use on of its _. True or False: If you have several wombats in the world, invoking the act() method for one wombat has the same exact results as clicking the act button in the execution controls at the bottom of the world? False True or False: When making changes to the Asteroids worlds source code you do not have to click on the compile all button if you want all your changes to be in effect when you run the world False When you invoke the canMove() method it returns:ĭ.
0 Comments
Leave a Reply. |