Java Terminology Chapter 3

  1. A _____ is a program module that contains a series of statements that carry out a task.
  2. When you _____ or _____ a method, you execute it.
    • invoke
    • call
  3. The _____ makes a _____ that invokes the _____.
    • calling method
    • method call
    • called method
  4. _____ are data items sent to methods in a method call.
  5. _____ are the data items received by a method.
  6. _____ sends a data value from a called method back to the calling method.
    Returning a value
  7. _____ is the programming feature that allows you to use a method name to encapsulate a series of statements.
  8. The _____ is the first line, or _____.
    • Method declaration
    • header
  9. Access modifiers are also called _____.
    access specifiers
  10. _____ is a principle of object-oriented programming that describes the encapsulation of method details within a class.
    Implementation hiding
  11. A _____ is a device you can use without understanding how it works.
    black box
  12. The _____ to a method includes the method's return type, name, and arguments. It is the part that a client sees and uses.
  13. A _____ is known only within the boundaries of a method.
    local variable
  14. A method's _____ is the combination of the method name and the number, types, and order of arguments.
  15. _____ are the arguments in a method call.
    Actual parameters
  16. _____ are the variables in a method declaration that accept the values from actual parameters.
    Formal parameters
  17. A _____ ends a method, and frequently send a value from a called method back to the calling method.
    return statement
  18. A _____ is its return type.
    method's type
  19. _____ are those that cannot be executed because the logical path can never encounter them, an unreachable statement causes a compiler error.
    Unreachable statements
  20. Unreachable statements are also called _____.
    dead code
  21. An _____ is the relationship between an object and the class of which it is a member.
    is-a relationship
  22. An _____ of a class is an object; in other words, it is one tangible example of a class.
  23. The _____ of a class are its data components.
    instance variables
  24. _____ are data variables declared in a class outside of my method.
  25. A _____ or _____ is an application or class that instantiates objects of another prewritten class.
    • class client
    • class user
  26. Classes can be _____, or used as a basis for any other class.
  27. Assigning _____ to a field means that no other classes can access the field's values, and only methods of the same class are allowed to set, get, or otherwise use private variables.
    private access
  28. _____ is 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.
    Information hiding
  29. _____, those methods usesd with object instantiations, are called _____.
    • Nonstatic methods
    • instance methods
  30. _____ set values.
    Mutator methods
  31. _____ retrieve values.
    Accessor methods
  32. The _____ allocates the memory needed to hold an object.
    new operator
  33. A _____ is the name for a memory address where the object is held.
    reference to an object
  34. A _____ is a method that establishes an object.
  35. A _____ is a unique identifier for data with a database.
    primary key
  36. A _____ is one that is created automatically by the Java compiler.
    default constructor
  37. An _____ is a type whose implementation is hidden and accessed through its public methods.
    abstract data type
  38. A _____ is one that is created by a programmer and not build into the language.
    programmer-defined data type
Card Set
Java Terminology Chapter 3
Java programming vocabulary