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