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.

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

what are Hostile Applets?

2082


What is a subsequence of a string?

1068


What is a parameter in simple terms?

999


What is tree in java?

919


How many bits is a boolean?

1089


Can interface be private in java?

1024


What is the difference between static class and normal class?

1032


Is java type safe?

961


How do you include a string in java?

992


What is JVM and is it platform independent?

1051


How to make a read-only class in java?

1163


What is isa relationship?

1055


How to compare strings in java?

1013


What is percentage in java?

1006


How does java enable high performance?

1150