JavaMethods

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