Wednesday, April 18, 2007

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.

1 comments :

Anonymous said...

static can be applied to inner classes as well ;)

 

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