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 / hathwar

static block will execute when ever execution starts, it
means this block executes first of all, where as static
block have to call seperately and also it can call with out
object instance.

Is This Answer Correct ?    41 Yes 51 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by string is immutable?

1073


what is the swingutilities.invokelater(runnable) method for? : Java thread

1038


Explain the concept of proper inheritance?

1065


What is meant by null and void?

961


Is null keyword in java?

936


What will be the default values of all the elements of an array defined as an instance variable?

1023


What is primitive array?

897


How to perform bubble sort in java?

994


Compare Mutex and Semaphore in java.

1001


What is the difference between double and float variables in java?

1141


can I implement my own start() method? : Java thread

987


Why does java doesnt suuport unsigned values?

2228


What is the purpose of static methods and static variables?

1069


Does java list allow null?

981


how would you implement a thread pool? : Java thread

905