+ 2
Can we initialize static data members inside non static block ?in Java
2 Respuestas
+ 7
Yes... a non-static method can access any static variable without creating an instance of the class because the static variable belongs to the class.
+ 2
Varsha Dustakar please specify language as I see you have opened the python tutorial and machine learning tutorial and have yet to do anything...