It’s hard to explain the java keyword static
in a sentence or two because it IS a little bit complicated. It’s worth writing an article about this statc
keyword.
static is a non-access modifier in Java which is applicable for the following:
- blocks
- variables
- methods
- nested classes
(TBD)
References:
GeeksforGeeks - static keyword in java
stackoverflow - Difference between Static and final?
近期评论