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;
15 Cards in this Set
- Front
- Back
- 3rd side (hint)
block
|
a section of code enclosed in curly braces; the body of a method
|
|
|
formal arguments
|
the list of arguments and corresponding data types listed in method definition
|
|
|
instance methods
|
are associated with one object and use the instance variables of that object
|
|
|
instance variable
|
a variable defined within a class
|
|
|
public
|
no restrictions on how instance variables are used
|
visible in other classes. The keyword public indicates that the method can be called by any object
|
|
UML
|
Universal Modeling Language
|
|
|
method definition
|
the method key word followed by the name of the method and its argument list
|
|
|
library
|
a collection of code that can be used to solve related tasks
|
|
|
object
|
an instance of a class
|
|
|
precondition of a method
|
an assumption that must be true that method makes about its arguments
|
the divisor is not zero is an example of an assumption
|
|
private
|
visible only inside this class
|
|
|
reply
|
the values returned to main from a method call
|
|
|
value returning method
|
this type of method has a return statement indicating the value that is assigned to method call variable
|
|
|
void method (procedure)
|
this type of method does not return anything to the method call. The method just does whatever it is supposed to do
|
|
|
calling / invoking
|
executing a method's logic
|
|