if, while, void, return, public, private
What are reserved words?
if (condition)
//do something
What is a unary if?
Often used for fixed iteration
What is a for loop?
main()
What is the function where program execution begins?
Accessors and mutators
What are getters and setters?
*, -, +, %, /
What are characters not allowed in identifiers?
//do something 1
else
//do something 2
What is a binary selection statement?
Often used for error-trapping
What is a while loop?
A method that doesn't return anything
What is a void function?
All class names should be
What is capitalized?
_ (underscore)
Multiple conditions being checked
What is a multi-way selection?
The post test loop
What is a do while loop?
Must match in number and compatible types
What are arguments and parameters?
In order to use non-static methods of a class, the class must be ____ to create an object
What is instantiated
How methods are typically named
What is with verbs or verb phrases?
Multiple conditions being checked, but can only contain int, char, String data
One loop inside of another loop
What is a nested loop?
A variable declared inside of a method (in the method body or in the parameter list)
What is a local variable?
Classes provide a "blue print" for _____
What are objects?
A named memory location
What is a variable?
true or false
What are boolean values?
What are the results of a condition?
Iteration
What is one execution of a loop?
Methods called from main() must be declared ______
What is static?
+ and - in a UML class diagram
What are public and private accessibility modifiers?