True or false? Mark for Review (1) Points True (*) False 9. In Greenfoot, the class holds the general attributes of an instance, such as the methods it inherits. An if-statement requires which type of information returned from the condition? Mark for Review (1) Points Method Action True or false (*) Integer 8. In Greenfoot, which of the following methods return the world that the instance lives in? Mark for Review (1) Points World getWorld() (*) World getClass() getXY() getRotation() 7. True or false? Mark for Review (1) Points True False (*) 6. An instance variable can be saved and accessed later, even if the instance no longer exists. In Greenfoot, the turn method expects what type of information in its parameters? Mark for Review (1) Points String statement Degrees to turn (*) Parameter void True or false response Integer of steps to move forward 5. In Greenfoot, the body of the method is located in between which of the following characters? Mark for Review (1) Points Square brackets Curly brackets (*) Asterisks ** Parnetheses ( ) 4. True or false? Mark for Review (1) Points True (*) False 6. In Greenfoot, after a subclass is created, what has to occur before instances can be added to the scenario? Mark for Review (1) Points Creation of an instance Creation of source code Editing of source code Compilation (*) 5. (*) Provide the acting objects for the scenario. Provide the background scenery for the scenario. What does an instance of the World class do? Mark for Review (1) Points Provide the superclass for acting objects. Which of the following Java syntax is used to correctly create a Bee subclass? private class extends Bee private Bee extends World public class Bee extends World private class extends Actor public class Bee extends Animal (*)ģ. (*) My program is complete when I add images to it. My program is complete when it runs and I've tested the code. From your Greenfoot lessons, Which of the following statements is most correct? My program is complete when I add music to it. Section 3 Oracle Java Fundamental Quiz Section 3 - Quiz 1 L1-L5 (Answer all questions in this section) 1.
0 Comments
Leave a Reply. |