Java View all facts Glossary Help |
syntactic unit > definition > class definition |
class definition | ||||
subject | fact |
class definition |
| |
can contain class methods, class variables, instance methods, instance variables | ||
has definition A definition that specifies a class and includes the class body | ||
has 1 or more constructors for the class | ||
has example public class HelloWorld { | ||
has part class declaration, class body | ||
has purpose to define a class | ||
has syntax public abstract final class nameOfClass extends Super implements Interfaces | ||
is a subtopic of Classes | ||
is stored in source file with the same name as the class and extension .java | ||
is a kind of definition | ||
definition | causes a compiler to set aside memory at compile time | |
syntactic unit | has syntax rule bold = mandatory |