Classes are designated as
public
Type of method/variable associated with a class.
Static
//
Single line comment
An object attributes.
instance variables
Constructors are designated as
public
Access to attributes!
internal/private
Type of method that does not return a value.
void
/* */
Multi Line Comment
Is a reference to the current object
this
When no constructor is written, Java provides a
no-argument/default constructor
Breaking down large problems into smaller subproblems by creating methods to solve each individual subproblem
method decomposition
Type of method that returns a single value
non-void
return
/** */
JavaDoc Comment
Type of variable declared in the body of constructors and methods.
Local
Constructors set the ______ ______ of the object.
initial state
Type of method type that changes the values of instance variables or static variables
Mutator/Modifier
Type of method that allows other objects to obtain the value of instance variables or static variables
accessor method
A condition that must be true just prior to the execution of a section of program code
Pre-condition
Used to return the flow of control to the point immediately following where the method or constructor was called
return
When a mutable object is a constructor parameter, the instance variable should be initialized with
a copy of the referenced object
A technique in which the implementation details of a class are kept internal
Encapsulation
When an actual parameter is a primitive value, the _____ ____ is initialized with a copy of that value.
formal parameter
A type of operator used along with a class name to access a static variable or static method
dot operator
Type of variable declared in the body of constructors and methods
local variable
Local variables to the constructor
formal parameter