Header Ads

  • Breaking Now

    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 comment:

    1. static can be applied to inner classes as well ;)

      ReplyDelete

    Post Top Ad

    Post Bottom Ad