A concept in object oriented programming that allows classes to have many forms andbehave like their superclasses.
Polymorphism
When there is no access modifier. Same access as public, except not visible to other packages.
Access modifier for a class
Is a method that is available for use without first creating an instance of the class. It is
declared by preceding its definition with the static modifier.
Static method
A type of access modifier. Permits access from anywhere.
Public
A template used for making Java objects.
Implementing methods in a subclass that have the same prototype (the same parameters, method name, and return type) as another method in the superclass.
Method Override
The keywords used to declare a class, method, or variable as public, private, or protected.Default is when there is no access modifier.
Class with default access
Is any class implemented as a nested class within another class. By definition, all inner
classes are members of the container class by composition.
Inner class
Used to assign initial values to instance variables of a class.
Constructor
An optional keyword used to access the members and methods of a class.
This
A keyword in Java used to limit subclasses from extending a class, overriding methods or changing data.
Final
Classes that are more specific subsets of other classes and that inherit methods and fields from more general classes.
Class with public access
Any Java class-level variable that is declared with the static modifier. This means only one
instance of the class variable can exist in the JVM regardless of the number of class
instances.
Class variable
A way to call a method with a variable number of arguments.
Variable argument
An instance of a class.
Object
A property of a static class that makes the class unable to be extended or data to be changed.
Immutable
A keyword in Java that allows you to explicitly declare the superclass of the current class.
Non-access class modifier
Is a keyword that makes a variable, method, or inner class available without first creating an
instance of a variable.
Static mods
Having more than one constructor or method with the same name but different arguments.
Overloading
The operator used to create an instance of a class.
New
Implementing a method with the same name as another method in the same class that has different parameters or a different return type.
Method overloading
Visible only to the class where it is declared.
Super class
Is an inner class. Inner classes are defined within a parent or container class and are
members of the container class by composition. In fact, inner classes are the only way you
can create class instances through composition.
Nested class
A type of access modifier. Permits access only from inside the same class.
Private
A built-in function of the Java VM that frees memory as objects are no longer needed or referenced.
Garbage collector