CSA Unit 5

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