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;
7 Cards in this Set
- Front
- Back
object stores
|
state in fields
|
|
instance variables
|
1. objects store individual states in "non-static fields - declared w/o the static keyword
2.values are unique to each instance of a class |
|
Class Variables
|
1. Declared sith static keyword
2. one copy of the variable is in existence |
|
local variables
|
stores temporary state of method
|
|
parameters
|
classified as variables not fields
|
|
Primitive Data Types
|
all variables must be declared before it can be used meaning:
variable type name ex. int gear = 1; |
|
eight primitive types
|
byte, short, int, long, float, boolean, char
note: charater string in double quotes " will automatically create a new string object. |