Answer Posted / madan
static block contains a code which is executed without
object of a class.i.e is excuted at the time of class
loading
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
Is passing by reference faster?
Can we call thread start () twice?
Is arraylist dynamic in java?
Why main method is static in java?
What carriage return means?
What is heterogeneous in java?
What is a qualifier in a sentence?
What is the core java?
What is the driver class?
How can we make string upper case or lower case?
Is an object null?
What is integer size in java?
What is a layout manager and what are different types of layout managers available in java awt?
What are the parts of a method?
What are the 3 types of loops in java?