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...

When we can access the static data member without creating
the object what is the need of the object in java.

Answer Posted / arun kumar maurya

there is no need to create object for static data member
because they define in class and take memory at load
time.while non static required memory dynamically so object
creation is necessary for that.object is created to
allocate the memory while in the case of static memory
already created.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an eror in java?

1055


What does flag mean in java?

1025


Differentiate between a constructor and a method? Can we mark constructors final?

1200


When should I use stringbuffer?

1023


In how many ways we can do synchronization in java?

972


What happens if I remove static from main method?

1010


What are the differences between this and super keyword?

948


What is string [] java?

955


Can we assign integer value to char in java?

1034


Can an anonymous class be declared as implementing an interface and extending a class in java programming?

1292


What is the difference between form & report?

1038


How can constructor chaining be done using this keyword?

1276


Why main method is called first in java?

1013


Can finally block be used without a catch?

1011


What are the Main functions of Java?

1092