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

6.1 Declarations

A declaration introduces an entity into a Java program and includes an identifier (S3.8) that can be used in a name to refer to this entity. A declared entity is one of the following:

Constructors (S8.6) are also introduced by declarations, but use the name of the class in which they are declared rather than introducing a new name.

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