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 difference between length and length() method in java?

1171


How to make a read-only class in java?

1235


What is pre increment and post increment in java?

1033


Why can't you declare a class as protected?

1203


Which non-unicode letter characters may be used as the first character of an identifier?

1052


What is the driver class?

1091


what methods would you overwrite in java.lang.object class?

1062


If an object reference is set to null, will the garbage collector immediately free the memory held by that object?

1197


Tell me about your ability to work under pressure

2246


How many types of exception can occur in a java program?

1039


Which is the best sorting technique in java?

1030


Is java hashset ordered?

1174


Can a constructor have different name than a class name in java?

1277


What is variable argument in java?

1068


What is arrays aslist in java?

995