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

static block executes whenever the class loaded in the Java virtual machine that means object is before going to main Method.

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about java sdk?

1032


Can memory leak happen java?

998


What is the return type of the main method?

1031


What is garbage collection? Can it be forced to run?

1007


Explain the transient field modifier?

1037


Can we have more than one package statement in source file ?

1016


How to disable caching on back button of the browser?

1079


What is static synchronization?

1102


What is the vector class in java programming?

1078


What is the difference between object oriented programming language and object based programming language?

1013


What is the reason behind using constructors and destructors?

1055


What is the range of the short type?

1019


what is the difference between Object Based Language and Object Oriented Language?

1030


What are the advantages of java?

985


What do you mean by default constructor in java?

1065