Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Explain wait(), notify() and notifyall() methods of object class ?

1111


How transient variable is different from volatile variable?

1131


What is meant by method overriding?

1164


What are 3 data types?

1034


What is called module?

1025


What is the class in java?

1057


State differences between C and Java?

1258


What is the importance of hashcode() and equals() methods?

1090


What is a modifier?

1593


What is the use of default method in interface in java? Explain

1046


How are destructors defined in java?

1086


What is difference between hashset and hashmap?

1176


What is bom encoding?

1047


what are three ways in which a thread can enter the waiting state? Or what are different ways in which a thread can enter the waiting state? : Java thread

1031


What is role of void keyword in declaring functions?

1092