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 / vijay

U cant call other class method without object.static member
is common for all object.if u want set some values for
specific object then the object is necessary

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you make a constructor final in Java?

1188


Why is a constant variable important?

996


What is difference between path and classpath?

1264


Why arraylist is used in java?

1117


What is nested class?

1048


Why we use set in java?

1037


Is there a jre for java 11?

1126


Write code to implement bubble sort in java?

1044


What do you know about the garbate collector?

1080


Is there a sort function in java?

1013


What is bytecode in java ?

1249


Can you explain the final method modifier?

1059


What is a numeric format?

1157


What is float in java?

1035


Explain the importance of finally block in java?

1021