what is the difference between static block and static
method
Answer Posted / aluru srinivasa rao
static block is executed first even before constructor is
invoked,static methods are invoked from a static method.
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
How do you do math powers in java?
How do you empty a list in java?
Why local variables are stored in stack?
What are the 4 versions of java?
What is map java?
What is argument in java?
Is a case study a method or methodology?
What does 3 dots mean in java?
Is java an open source?
Can we extend singleton class?
What is a dynamic array in java?
What is the difference between preemptive scheduling and time slicing?
What is the main method java?
What are the different types of inner classes?
Does list allow duplicates in java?