what is the difference between static block and static
method
Answer Posted / anu
static block is execute first after the remaining blocks will executes.
static metods can executes using classname.staicmethodname
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What defines function?
What do you mean by light weight and heavy weight components?
Explain the scope of a variable.
What are register variables what are the advantages?
What is double checked locking in singleton?
How big is a pointer?
What is a function argument in java?
What does serializing data mean?
What is a method header?
Do you know why doesn't the java library use a randomized version of quicksort?
What is flag in java?
What checkbox method allows you to tell if a checkbox is checked?
When we serialize an object does the serialization mechanism saves its references too?
What is a substitution variable?
What about abstract classes in java?