CS202 Java-57
Class Data
l
Class data
is accessible to all objects of a class.
l
Fields declared as
static
belong to the class rather than
to a specific instance.
l
l
l
public class Name
l
{
l
// Class constant
l
static final String PUNCT = “, ”;
. . .
l
}