- JAVA OVERVIEW
- History of Java
- Tools you will need for java
- Java Environment Setup
- Popular Java Editors
- Java Basic Syntax/First-Program
- Java Identifiers
- Java Modifiers
- Java Arrays
- Java Enums
- Java Keywords
- Comments in Java
- Java - Objects and Classes
- Objects in Java
- Classes in Java
- Constructors
- Creating an Object
- Accessing Instance Variables and Methods
- Source file declaration rules
- Java Package
- Simple Case Study
- Basic Data Types
- Primitive Data Types
- Reference Data Types
- Java Literals
- Variable Types
- Local variables
- Instance variables
- Class or static variables
- Java Access Modifiers
- What is OOPS
- Inheritance concept
- Encapsulation
- What is Polymorphism
- Method Overloading
- Method Overriding
- Abstraction in Java
- Abstract class
- Interface in Java
- Method overloading in Java:
- What is Annonymous object?
- Java 8
What are the Reference DataTypes in java ?
Reference data types in java:
Reference variables are created using defined constructors of the classes.
They are used to access objects.
These variables are declared to be of a specific type that cannot be changed.
For example,
Employee, Puppy
etc.
Class objects and various type of array variables come under reference data type.
The default value of any reference variable is null.
A reference variable can be used to refer to any object of the declared type or any compatible type.
Example :
Animal animal = new Animal("giraffe");