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

Explain the difference between an Interface and an Abstract class?

1169


What are synchronized blocks in java?

1164


What is the difference between call by reference and call by pointer?

957


What are the object and class classes used for?

1037


How do you compare arrays in java?

948


What is off heap memory?

1003


What is the difference between multiple processes and multiple threads?

1196


What is anagram in java?

924


How does linkedhashmap work in java?

1010


How to instantiate member inner class?

1071


What is constructor and virtual function? Can we call a virtual function in a constructor?

1135


Explain the advantages of packages in java?

909


What is immutable in java?

1059


What is array length?

966


What is defined as false sharing in the context of multithreading?

1040