what is the difference between static block and static
method
Answer Posted / sukhvider
static block executes whenever the class loaded in the Java virtual machine that means object is before going to main Method.
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
what is the difference between preemptive scheduling and time slicing? : Java thread
What is instance means in java?
what is meant by Byte code concept in Java?
What does exp mean in math?
Is java se free?
What are assembly attributes?
How to write custom exception in java?
What class allows you to read objects directly from a stream?
how can you take care of mutual exclusion using java threads? : Java thread
How many bytes is a string java?
What are the two environment variables that must be set in order to run any java programs?
Explain runtime exceptions?
When do you call copy constructor?
What is a bubble sort in java?
How is java created?