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 inheritance?

974


How do I know if java is installed?

1088


What is the constructor?

1056


What is the major advantage of external iteration over internal iteration?

1108


What do you mean by scope of variable?

892


How to read and write image from a file ?

1044


What does this mean java?

1104


Why do we need data structure in java?

1070


What is jvm? Why is java called the platform independent programming language?

1021


What is the properties class?

1089


Can we have a method name same as class name in java?

1052


What is abstraction in java?

1088


What is a return in java?

1029


What are the advantages of java over C++?

1201


Is vector ordered in java?

994