Java

  1. Java stores an object's STATE in what?
    Variables.
  2. Objects store their individual states in "non-static fields", that is, fields declared without the static keyword. NON-STATIC FIELDS are also known as what?
    Instance variables.
  3. Any field declared with the "static" modifier is what kind of variable?
    Class variable. (Value remains the same no matter how many times it is instantiated through various objects.)
  4. What type of variable contains a temporary value and is located between the [ ] of a method.
    Local variable.
  5. What type of variable is listed outside the [ ] of a method declaration?
    Parameters.
Author
markdubowski
ID
31599
Card Set
Java
Description
Java programming basics
Updated