Across
- 3. local variable in a method header that holds the data sent in
- 5. keyword which indicates that other classes have access to the method
- 7. a modifier used when declaring variables so other code in other classes can’t change their values
- 8. methods which do not have a return statement
- 11. arguments and parameters must _________ in type and number
- 13. a void method which changes or mutates a private variable
- 15. the job of breaking a problem into smaller problems and writing methods for each sub-problem
- 17. when the address of the actual parameters is passed to the function as the formal parameters and both refer to the same location in memory
- 19. when we have multiple methods of the same name in one class that have different number and order of parameters
- 21. when we create a new space in memory to hold a reference to an object
- 22. data stored in memory directly and if changes are made by a method, they are not preserved
- 24. when each constructor calls another, which in turn calls mutator methods
Down
- 1. to make it possible for another class or user to use the class without revealing how everything is done
- 2. when the values of actual parameters are copied to the function’s formal parameters and there are two copies of parameters stored in different memory locations
- 4. a constructor added by Java has no parameters and sets all the member variables to default values
- 6. a value that does not change
- 9. data stored as references, if they are changed in a void method those changes are preserved
- 10. something that changes the behavior of variables or methods
- 12. a method that lets you access a variable from an object
- 14. a statement to send a value back to the calling method and thus provide output which can be stored as a variable
- 16. a construct to represent the behaviors of classes
- 18. a modifier which means only one copy exists for all objects of that class and all objects of this class share access to the entity
- 20. data values sent to a method
- 23. a construct used to represent the fields of classes
