Chapter 3 Key terms

123456789101112131415161718192021222324252627282930313233343536373839404142
Across
  1. 2. a data type whose implementation is hidden and accessed through its public methods
  2. 6. the type of data that, upon completion of the method, is sent back to its calling method
  3. 8. the first line of the method and contains information about how other methods can interact with it; also known as a method header
  4. 11. the variables in a method declaration that accept the values from actual parameters
  5. 12. a program module that contains a series of statements that carry out a task
  6. 13. the combination of the method name and the number, types, and order of arguments
  7. 14. a method that contains no statements; programmers create stubs as temporary placeholders during the program development process
  8. 16. a principle of object-oriented programming that describes the encapsulation of method details within a class
  9. 18. an operator that allocates the memory needed to hold an object
  10. 19. methods used with object instantiations
  11. 25. a method that calls another
  12. 28. a variable known only within the boundaries of a method
  13. 29. methods that set values
  14. 30. a device you can use without understanding how it works
  15. 35. constructor that is created automatically by the Java compiler
  16. 37. a class's data components
  17. 38. a method that makes a method call; the calling method invokes the called method
  18. 39. statements that cannot be executed because the logical path can never encounter them; these statements cause compiler errors
  19. 40. the name for a memory address where the object is held
  20. 41. modifier sometimes used as another term for access specifier
  21. 42. data items sent to methods in a method call
Down
  1. 1. the part of a method that a client sees and uses; includes the method’s return type, name, and arguments
  2. 2. parameters the arguments in a method call
  3. 3. the first line of the method and contains information about how other methods can interact with it; also known as a declaration
  4. 4. a method that establishes an object
  5. 5. includes a class name and a dot before the identifier
  6. 7. the actions that execute within a method; the method body
  7. 9. the programming feature that allows you to use a method name to encapsulate a series of statements
  8. 10. a data type that is created by a programmer and not built into the language
  9. 12. the set of statements between curly braces that follow the header and that carry out the method’s actions
  10. 15. to use one class as a basis for any other class
  11. 16. the object-oriented programming principle used when creating private access for data fields; a class’s private data can be changed or manipulated only by a class’s own methods and not by methods that belong to other classes
  12. 17. to execute a method
  13. 20. methods that retrieve values
  14. 21. data variables declared in a class outside of any method
  15. 22. an application or class that instantiates objects of another prewritten class; also called a class client
  16. 23. no other classes can access a field’s values; only methods of the same class are allowed to set, get, or otherwise use private variables
  17. 24. to execute a method
  18. 26. a tangible example of a class; an object of a class
  19. 27. a unique identifier for data within a database
  20. 31. an application or class that instantiates objects of another prewritten class; also called a class user
  21. 32. the data items received by a method
  22. 33. a set of statements that are logically unreachable
  23. 34. methods used with object instantiations
  24. 36. to send the value from a called method back to the calling method