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

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

Explain the inheritance?

959


What is the most important feature of java? What is an interface?

1000


How big is a pointer?

1020


What is the purpose of the file class in java programming?

1011


Explain the Propertie sof class?

1043


How to create a thread in java?

1128


Explain the hierarchy of java exception classes?

1084


What is the major advantage of external iteration over internal iteration?

1097


List some oops concepts in java?

1023


What do you mean by constructor?

974


Where is the singleton class used?

1021


How to pass arraylist to stored procedure in java?

1150


How do I run java on windows?

1160


how can i use a nonsynchronized hashtable?

2562


what is session in java?

1239