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

In Java, what’s the purpose of static methods and static variables?

Answer Posted / nashiinformaticssolutions

When a method or variable needs to be shared across several objects of a class, developers utilize a static keyword to make it shared for all objects. Instead of making unique copies for every object, this is employed.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What 5 doubled?

930


Is it safe to install java on my computer?

1043


What is constructor chaining in java?

1017


What is return data type?

940


Can we sort array in java?

888


How does map works in java?

940


Write code to implement bubble sort in java?

943


What is continuity of a function?

1020


How to store image in arraylist in java?

919


What is data type example?

900


Explain the pointers in Java?

991


what is a working thread? : Java thread

993


What is finally and finalize in java?

1017


Is java se free?

884


What is java algorithm?

879