I do not think that their use of "object type" and "reference type" is standardized, but here is my interpretation.
Consider this code:
Object o = new Integer(3);
The o link is of type Object . The object that it refers to is of type Integer .
Thus, the "reference type" will be Object , and the "type of object" will be Integer .
What is confusing is that there is a (standardized, official) term “ link type ” that encapsulates types that can be referenced. In Java, which includes all classes, enumerations, interfaces, arrays. It excludes only primitive types ( int ..).
Joachim sauer
source share