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 statis block and static
variable

Answer Posted / ramakrishna

Static block is the block which is executed first in the
program. Static variable is the common variable which is
shared by all the objects. Static variable is not specific
to any object.

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between serializable and externalizable interfaces?

1025


What are green threads in java?

946


What is difference between length and length() method in java ?

937


What do u mean by variable?

991


Is singleton thread safe in java?

913


What is the difference between length and length () in java?

883


What is variable and rules of variable?

967


Can a private method be declared as static?

966


Can you explain the final method modifier?

954


Define inheritance?

963


What are the elements of java?

967


How many threads can java run?

1052


Can the garbage collection be forced by any means?

932


Is java call by value?

1024


What are data structures in java?

915