Where can static modifiers be used?

They can be applied to variables, methods and even a block of code, static methods and variables are not associated with any instance of class.They are loaded at the class compile time.


Anonymous said...

static can be applied to inner classes as well ;)


Interview Questions On Java,Java EE Copyright © 2018. Reads: best tracker