Method Overloading
Constant
“final” keyword
Modifiers
Non-Access Modifiers
What are the seven types of Non-Access Modifiers?
static methods
What are the restrictions of the static methods?
private keyword
an access modifier used for attributes, methods, and constructors, making them only accessible within the declared class
protected keyword
used for attributes, methods, and constructors, making them accessible in the same package and subclasses
int vs. Integer
“new” keyword
What are the two types of data types Java provides?
- reference
Examples of reference data types
Serializable
In Java, it is a marker (empty) interface and has no fields or methods to implement.
Serialization
In Java, it is a process of converting the Java code Object into a Byte Stream, to transfer the Object Code from one JVM to another and recreate it using the process of Deserialization.
Why need serialization
Instantiation
Creating an object of the class
Example: // defines a reference (variable) that can hold an object ClassName reference; // instantiation reference = new Constructor();