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

What is a stringbuffer?

1024


How do you override a variable in java?

1234


why doesn't java run on all platforms?

1070


what do you mean by stream pipelining in java 8? Explain

1076


In java, how we can disallow serialization of variables?

1040


Is void a data type in java?

1027


What is the different types of functions?

1097


Difference between throw and throws?

1156


How many types of interfaces are there?

1141


Why does java have two ways to create child threads? Which way is better?

1107


What is final keyword?

1235


Can we write any code after throw statement?

1106


What does the exclamation mark mean in java?

1315


What is this () in java?

1081


extending thread class or implementing runnable interface. Which is better? : Java thread

1041