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
What do you understand by classes in java?
How can an object be unreferenced?
How do you reverse sort in java?
What’s a deadlock?
How do you create an array in java?
Explain the polymorphism principle?
Explain exception chaining in java?
What is package private scope in java?
What is a "pure virtual" member function?
What is an object class?
What is Session reduplication and how its done?
hi am an engineering student and my next plan is for ms in either in us or australia i got my passport but i dont know anything bout visa can u give brief idea 1)How to get prepared for visa and 2)How to apply for top universities and 3)How to pay the fee and so on These all are basic questions plz give me a clear idea
What is floor math?
Using callable statement how can you pass out parameters, explain with example?
What are different types of control structures?