Top Categories

7.16 How to use Static Block in Java Tutorial
  • Category:
  • Sub Category:
  • loaded
  • Simple
  • Java (Software)
  • static
  • Software (album)
  • Java (Programming Language)
  • How-to (Website Category)
  • how
  • to
  • course
No Views

Printing Something without any statement in Main Method. Static Blocks are called before main Method. Static Blocks are called as soon as your class is loaded in JVM. Static block is a block of code which is preceded by the static keyword. Static block are also called initialization block .It can

Comments

You Might Be Interested In