| Java Review |
Java Program (application, applet, servlet) |
Java Application Programming Interface (standard packages) |
Java Virtual Machine |
Hardware |
- boolean
- byte
- char
- double
- float
- int
- long
- short
if (expression that evaluates to a boolean value) { ... }
if (expression that evaluates to a boolean value) { ... } else { ... }
switch (expression that results in an integer value) { case value: ... break; ... default: ... break; }
Question: What is a class?
A user or API defined data type. A blueprint for objects.
Question: What is an object?
an instance (occurrence, instantiation) of a user or API defined data type.
Question: Purpose? What distinguishes them?