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 the significance of listiterator in java?

0 Answers   IBS,


define polymorphism in java

0 Answers  


What is character in data type?

0 Answers  


What is super in java?

0 Answers  


. Differentiate between instance and local variables.

1 Answers  


what is Assertion?

4 Answers   Wipro,


why abstract class does not have object creation

6 Answers   Value Labs,


Why java is platform independent? Explain.

0 Answers  


How do you sort data in java?

0 Answers  


what is jms? features of jms

2 Answers   CTS,


1.what is the exact difference between applet and frame? 2.Do we use main method in frames?

5 Answers  


Can a static class implement an interface?

0 Answers  


Categories