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 the purpose of the return statement?

983


Explain the differences between static and dynamic variables?

1082


What is the difference between procedural and object-oriented programs?

927


Are static members inherited to sub classes?

1089


Why java applets are more useful for intranets as compared to internet?

1013


How do you use nextline in java?

901


What is meant by memory leak?

981


What do you mean by hashing?

1047


Can a class have a static inner class?

1029


What is the difference between hashmap and hashtable? What is an interface?

1074


What technique is carried out to find out if a particular string is empty?

972


What is the static method?

1019


How can an object be unreferenced?

979


Can we inherit inner class?

958


What are the 7 types of characters?

1019