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?

Answers were Sorted based on User's Feedback



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

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

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

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

More Core Java Interview Questions

Why are the destructors for base class and derived class called in reverse order when the program exits

0 Answers   HCL,


Explain what pure virtual function is?

0 Answers   Aricent,


Why java is secure? Explain.

0 Answers  


What is class variable java?

0 Answers  


What is an object in Java and what are its benefits?

4 Answers   IBM,


what is bmg file and how to create that files?what will it contailn?

0 Answers   HCL, Probe Services,


Can you make an instance of an abstract class?

5 Answers   Accenture,


what is meant by multicast?

1 Answers  


What is a method in java?

0 Answers  


what is the diff b/w arraylist and vector?

6 Answers   Code Genesis, Genesis, Sprintine Labs,


What is the string function?

0 Answers  


What are the differences between checked exception and unchecked exception?

0 Answers  


Categories