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 is a priority queue java?
Can a constructor call the constructor of parent class?
What is valid keyword in java?
Is vector synchronized in java?
What is jar?
Is space a character in java?
What is garbage collector?
What is math exp in java?
what is meant by Byte code concept in Java?
Is empty in java?
What is empty string literal in java?
What are the types of relation?
What is the differences between heap and stack memory in java? Explain
What is the purpose of the System class?
Which command from the jdk compiles a java program?