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;
7 Cards in this Set
- Front
- Back
Call-by-value |
One way in which an argument can be passed to a method. This approach copies the value of an argument into the formal perimeter of the method. Used for Java's primitive types |
|
Call-by-reference |
How objects are passed as arguments to a method; the reference to the object, not the object itself, is passed |
|
Varargs method |
A method that takes a variable number of arguments; the parameter list is variable rather than fixed in length; static void vaTest(int . . . v) |
|
Method overloading |
When two or more methods within the same class share the same name but their parameter declarations are different; the value of overloading is that it allows related methods to be accessed by use of a common name |
|
Access modifiers |
Java's mechanism for controlling member access. Public, private, protected |
|
Recursion |
Java's mechanism for a method calling itself |
|
Static |
Keyword used to declare both methods and variables that will be used independently of any object of that class. static int totalNbrOfBicycles; |