0
What is the difference between static int a; and int a
static
2 Answers
+ 9
[Edit: This sounds weird, now that one learner deleted his post ^^ ]
static is not const or final!
See this post:
https://www.sololearn.com/Discuss/230821/?ref=app
0
When a method is static you can call it directly without having to instantiate an object of that class.