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

What is final?

0 Answers  


How to split a string in java?

0 Answers  


What are constants?

0 Answers  


What is boolean law?

0 Answers  


Is .net better than java?

0 Answers  


What is the use of a copy constructor?

0 Answers   Flextronics,


Why are generics used?

0 Answers  


what is tempplate pattern

4 Answers   IBM, RBS,


Is arraylist dynamic in java?

0 Answers  


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

0 Answers  


What is yield () in java?

0 Answers  


Why local variables are stored in stack?

0 Answers  


Categories