Described here to start a study method different from taking notes. Writing from a very halfway part.
Reserved words that describe the nature of identifiers → Understand how classes, methods, and variables should be ...
The modifiers to be learned this time are final and static
First of all, final The final modifier is attached to the field and class. By doing this, in the case of a field, "the value cannot be changed" In the case of a class, "inheritance is not possible"
static modifier Used for fields and methods By attaching this, objects created from the same class can have the same value.
As for static, it's not very pinpointed, so review is required. First of all, let's study through and identify the parts that you do not understand.
Recommended Posts