1. Access Specifier
    That specifier means that they can be accessed only by the methods of the same class, not by any other method.

    • Ex. private int value
    • Ex. public int value
  2. Instance Variables
    • Instance variables store the data required for executing its methods.
    • Instance variables should always be private.
    • Ex. private int value;
    • Ex. private double change;
  3. Parameter Vairables
    • The variable that holds the argument.
    • Ex. int value = cash.getValue(parameterVariable)
  4. Public
    The word public denotes that the class is usable by the “public."
  5. Private
    Details hidden from the programmers who use objects and call methods.
  6. Encapsulation
    Encapsulation is the process of hiding implementation details and providing methods for data access.
  7. Void
    When a method returns no value.
  8. Local Variable
    A local variable is a variable that is declared in the body of a method.
  9. Null
    • The null reference refers to no object.
    • Ex. Note that the null reference is not the same as the empty string "". The empty string is a valid string of length 0, whereas a null indicates that a string variable refers to no string at all.
  10. Explicit Parameters
    • All other parameter variables (such as the # int the getNumFields method) are called explicit parameters.
    • Ex. plot2.getNumFields(400);
  11. Implicit Parameter
    When you implement the method, you provide a parameter variable for each arguement. But you don’t need to provide a parameter variable for the object on which the method is being invoked.
  12. This
    The 'this' reference denotes the implicit parameter.
  13. Primitive Types
    • Int
    • Double
    • Float
    • Char
    • Long
    • Short
    • Byte
    • Boolean
  14. Constants
    Numeric values that do not change.
Card Set
Test2 on friday.