0
Not always. I personally use private final quite a lot. Static means that variable or method belong to the class instead of objects, so changing it would change it for all objects of same class. Also they are not inherited, so you instead just make new static fields and methods or reference those of parent class. static final often acts as a constant, but can also be used for shared containers.
12th Jun 2018, 1:26 PM
BlazingMagpie
BlazingMagpie - avatar