Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
4 Cards in this Set
- Front
- Back
Java program |
a collection of objects talking to other objects by invoking
each other's methods. Every object is of a certain type, and that type is defined by a class or an interface. Most Java programs use a collection of objects of many different types. |
|
Class
|
A template that describes the kinds of state and behavior that objects
of its type support. |
|
Object
|
At runtime, when the Java Virtual Machine (JVM) encounters the
new keyword, it will use the appropriate class to make an object which is an instance of that class. That object will have its own state, and access to all of the behaviors defined by its class. |
|
State (instance variables)
|
Each object (instance of a class) will have its
own unique set of instance variables as defined in the class. Collectively, the values assigned to an object's instance variables make up the object's state. |