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


Difference between static methods, static variables, and static classes in Java.



Difference between static methods, static variables, and static classes in Java...

Answer / nashiinformaticssolutions

A variable, method, or class can be made static by using the static keyword. A static class cannot be instantiated. When both objects or instances of a class share the same variables, this is referred to as static variables. Static methods are simply methods that refer to the class in which they are written.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Can an interface extands a class?

5 Answers  


Why char array is preferred over string for storing password?

0 Answers  


Is java based on c?

0 Answers  


Discuss about garbage collector in Java.

0 Answers   Agilent, Integreon, ZS Associates,


What is Servlet?

8 Answers  


What is a dot notation?

0 Answers  


What is data member in java?

0 Answers  


What is the method in java?

0 Answers  


What is the difference between equals() and == in java?

0 Answers  


How to compare two strings in java program?

0 Answers  


What is the use of ?this??

4 Answers  


What is the primary benefit of encapsulation?

0 Answers  


Categories