Answer Posted / srinivasa
Static block is executed when the class is loaded into the
memory before the main(). Only once it will be executed.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
When should you make a function static?
What happens if I remove static from main method?
What language is an assembler written in?
Why is stringbuffer thread safe?
How to provide security in java
What's the base class in java from which all classes are derived?
What are namespaces in java?
What is Garbage Collection in Java
placement papaers of spring computing technology
What are data types in programming?
What is toarray method in java?
What are the major advantages of internal iteration over external iteration?
How many bits is a string?
What is arguments in java?
What is jagged array in java?