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 initialized to its value in the constructor. - TYPE NAME= EXPRESSION;
This form creates a field, bound to name, that can be used within the current class, or instances of the current class. This field will have the declared type and the value of the evaluated expression. The expression may not refer to fields that have not yet been initialized.
ProfessorJ Beginner Language