Some of the most common types of handling in Java are:
- Primitive: Primitive objects are objects that do not have any reference and do not contain any fields or methods. Examples are int and String.
- Reference: Reference objects are objects that have references to other objects, which can be either primitive or reference type as well
- Object: Object handles instances of classes as well as other types of references. It also has fields and methods like primitive or reference type do.