Term
|
Definition
the values we write in a conventional form whose value is obvious |
|
|
Term
|
Definition
| combination of literals and operators, it has a value |
|
|
Term
|
Definition
|
|
Term
|
Definition
Kind of data; determines how the value is stored in computer’s memory, and how the value can be converted (cast) to related values |
|
|
Term
|
Definition
| Values that Java knows how to operate on directly: Integer, Fractional or floating point number (double),(char), (boolean) |
|
|
Term
|
Definition
name together with an associated value, and a type |
|
|
Term
|
Definition
| names that you as a coder make up |
|
|
Term
|
Definition
| a named group of statements, and execute those statements by calling the method |
|
|
Term
|
Definition
| Performs a statement (or block) over & over |
|
|
Term
|
Definition
used to indicate that a method doesn’t return a value; to indicate void method, Execute a return statement by itself (no return values) or reach closing brace of main method |
|
|
Term
|
Definition
| makes the method accessible from outside the class |
|
|
Term
|
Definition
| not accessible outside the class |
|
|
Term
|
Definition
| English like code; allows the designer to focus on the logic of the algorithm without being distracted by details of language syntax |
|
|
Term
|
Definition
the area of code in which an entity is known (or alive) |
|
|
Term
|
Definition
| labled "private" or "public" |
|
|
Term
|
Definition
|
|
Term
|
Definition
“breaks you out” of the closest enclosing loop |
|
|
Term
|
Definition
a shortcut to the next iteration of the loop |
|
|
Term
|
Definition
| hold the data for each object; data stored in variables |
|
|
Term
|
Definition
| describe the actions/behaviors the object can perform |
|
|
Term
|
Definition
| initialize object with some information |
|
|
Term
|
Definition
| ask an object about its state; eg. getAge, getName |
|
|
Term
|
Definition
| change an object’s state; eg. setAge, withdraw |
|
|
Term
|
Definition
| a reference to the current object whose constructor/method is being called |
|
|
Term
|
Definition
| a directory that has a collection of related classes |
|
|
Term
|
Definition
things created at “run time” i.e. when the program is running; Every object effectively gets its own copy of each dynamic method, and instance variables |
|
|
Term
|
Definition
| “pertaining to the class in general”, not to an individual object, and is shared by all instances |
|
|
Term
|
Definition
| Two or more references point to the same object |
|
|
Term
|
Definition
| An object of type A has an instance variable which is an object whose type is B. (A “has a” B) |
|
|
Term
|
Definition
| used to establish inheritance |
|
|
Term
|
Definition
| visibility modifier that makes class instance visible only to its subclasses |
|
|
Term
|
Definition
| A constructor can explicitly call its parent’s (its superclass’) constructor by making a call to super(arguments) |
|
|
Term
| equals() and equalsIgnoreCase() methods |
|
Definition
| use to compare two Strings for equality; eg. > a= "hi"; b= "hi" > a.equals(b) |
|
|
Term
|
Definition
refers to the fact that you can have multiple methods with the same name in the same class |
|
|