What Is Reference Data Type In Java?
What Is Reference Data Type In Java? A reference type is a data type that’s based on a class rather than on one of the primitive types that are built in to the Java language. … This reference is the address of the memory location where the object is stored. To declare a variable using