Across
- 2. How many arguments in a default constructor?
- 3. when there is more than one constructor with the same name.
- 6. the value inside a methds is known as an?
- 9. forward(), forward(100) are said to be?
- 11. The body of a method definition is contained within a set of ?
- 14. is something that an object can
- 15. separates object and method name and parenthesis
- 17. What are the data or properties of an object called?
- 18. allow values to be passed to the constructor to initialize the newly created object’s attributes.
Down
- 1. As a blueprint, each class defines the attributes its objects have (the properties or what each object knows about itself)
- 4. keyword that is used to create a new object of a class.
- 5. To use an object’s method, you must use the object name and the dot (.) operator followed by the method name, for example object.method()
- 7. initialize the attributes in newly created objects. They have the same name as the class.
- 8. is turnRight() a method, class, constructor or variable?
- 10. valid syntax for creating and initializing a World object?? World w = new World();
- 12. instance variable is data the object knows about itself.
- 13. a specific instance of a class with defined attributes.
- 16. It is the formal implementation, or blueprint, of the attributes and behaviors of the objects of that class.
- 19. What specifies the behavior for objects of a class in Java?
