CHAPTER 6: Names Previous
Previous
Java Language
Java Language
Index
Index
Next
Next

6.7 Fully Qualified Names

Every package, class, interface, array type, and primitive type has a fully qualified name. It follows that every type except the null type has a fully qualified name.

Examples:

In the example:

package points;


class Point { int x, y; }

class PointVec {
	Point[] vec;
}

the fully qualified name of the type Point is "points.Point "; the fully qualified name of the type PointVec is "points.PointVec "; and the fully qualified name of the type of the field vec of class PointVec is "points.Point[] ".

Top© 1996 Sun Microsystems, Inc. All rights reserved.