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;
13 Cards in this Set
- Front
- Back
abstract
|
an abstract class cannot be instantiated
the abstract keyword cannot be applied to methods that are static, private or final, since such methods cannot be overridden and therefore cannot be implemented in subclasses No methods of a final class may be abstract since a final class cannot be subclasses |
|
class
|
keyword used to declare java class
class is a template or a blueprint provides properties of an object |
|
extends
|
inherits all the public and protected variables and methods of a super class
a class may only extend one other class |
|
final
|
keyword may be applied to a class, indicating that the class cannot be extended
|
|
new
|
keyword used to create an instance of that class
|
|
null
|
reserved word representing no value
cannot be assigned to variables of primitive types |
|
private
|
access control modifier that can be applied to a class, method or field variables
|
|
super
|
refers to the superclass of the class in which the keyword is used
|
|
this
|
refers to the current instance
used when a reference may be ambiguous |
|
interface
|
declare a new java interface, which is a collection of methods
|
|
object
|
instance of a class
new keyword is used to create an object the . operator is used to access members of that object |
|
static variable
|
is a variable shared by all instances of the class
static method is a method that can be invoked without using instances |
|
get methods / set methods
|
getter (accessor) and setter (mutator)
get method public returnType getPropertyName() set method public void setPropertyName(datatype propertyValue) |