field
- TYPE NAME;
This form creates a field, bound to name, that can be used within the current class, or on instances of the current class. This field will have the declared type and must be assigned its value in the constructor. - TYPE NAME = EXPRESSION;
This form creates a field, bound to name, that will have the value of the evaluated expression.
ProfessorJ Beginner Language