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;
18 Cards in this Set
- Front
- Back
Class |
A template, or blueprint, for creating objects |
|
Object |
An instance of a class |
|
Method |
A way of sending a message to an object |
|
Instantiation |
The process of creating an object from a class |
|
Contstructor |
A method used to instantiate a class |
|
Variable |
A symbol that can be used in place of a value |
|
Constant |
A symbol that can be used in place of a value, but that cannot be changed while the program is running |
|
Import |
A way of making a class available to your program |
|
Line comment |
Used to document a single line |
|
Block comment |
Used to document multiple lines |
|
Parameter |
A value that you pass to a method |
|
Decision |
A programming structure that enables you to "ask a question" in your program and then determine the outcome based on your answer |
|
Loop |
A way of repeating one or more lines of code |
|
init vs run |
init() is invoked (called) before run(). the init() method is used to initialize or prepare your applet for execution. The run() method usually contains the bulk of the logic for your program. |
|
Double constant called "max" that has value 5.5 |
private static final double MAX =5.5; |
|
x=x+1; |
x++; ++x: x +=1; |
|
What is the break keyword used for? |
The keyword allows us to preemptively exit a loop |
|
What is the continue keyword used for? |
The keyword allows us to preemptively end the current iteration of a loop. |