Java - Reference Data Type

About

Reference types in Java.

Reference types all inherit from Object (the java.lang.Object class)

List

Example

Examples of reference types include:

  • java.lang.String,
  • all of the wrapper classes for primitive types such as java.lang.Double,
  • the interface java.io.Serializable,
  • and the enum javax.swing.SortOrder.

Powered by ComboStrap