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

Is oracle charging for java?

974


How to sort numbers in java without array?

938


What is collection sort in java?

908


Can we use a default constructor of a class even if an explicit constructor is defined?

1056


What is the exact difference in between Unicast and Multicast object? Where will it be used?

1013


How can you write a loop indefinitely in java programming?

963


how does the run() method in runnable work? : Java thread

872


Can we have multiple public classes in a java source file?

1113


What is the difference between this() and super() in java?

993


What are the different types of data structures in java?

947


Explain the JDB in depth & command line.

967


What is a local class in java?

994


What is bean? Where it can be used?

1035


What does || mean in vectors?

895


Highest level event class of the event-delegation model?

3960