New course! Every coder should learn Generative AI!
Try a free lesson+ 2
Java. Can final variable be non-static?
3 Answers
+ 2
when it is not static, you have to create an instance to access it
https://code.sololearn.com/c3j6k2cf4fbU/?ref=app
0
yes, it can be
final int a=11;
0
but it doesnt work