Arrays
How to declare an array
How to allocate space for an array
How to find the min/max/sum/average
How to find the number of elements of an array that exceed a certain value
Objects
How to initialize
What is a constructor
How does a child object get painted on the screen
Control Structures
The For loop
Normal for loops
For loops that count backwards
For loops that count by multiples, for example 3,6,9 ...
The While loop
Normal while loops
For loops that count backwards
For loops that count by multiples, for example 3,6,9 ...
The if
Complex conditionals (with OR and AND)
When does 'else' work.
else and else if
Variables
Types (int, double, String, etc).
How to declare
What is 'scope' and how does that relate to the 'smallest enclosing block'.
Integer math
Math.random()
Make me a random integer between 1 .. 10
Make me a random integer that is 5,10,15,20,25, or 30.
KeyPressed and MousePressed
What must you 'implement'?
What methods must you have?
When does the keyStuff happen
Difference between keyPressed and keyTyped
Difference between getKeyCode and getKeyChar
When does the mouseStuff happen
How to get the (x,y) where the mouse event happened.
Methods
When is paint called and why
When is the constructor called and why
When is mousePressed called and why.
Which must 'return true', a boolean function or a void function?
Graphics
The basic primitives (drawLine, drawString, etc).
Colors
When does 'paint' get called
What is the difference between paint() and repaint()