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

What happens when a class is made static like if a field or
member is made static it becomes class variable and is
shared by all the object of the class?

Answer Posted / arvind verma

If a class is made static then we can access it's methods &
variables by using class name , no need to create class
object

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you override a private method in java?

970


Can a static member function access member variable of an object?

996


What is string literal in java?

1042


Is string is a data type in java?

1045


How to find the given number is a prime number or not by getting input from the user

1091


Why there are some null interface in JAVA? What does it mean? Give some null interface in JAVA?

1077


What is the reason behind using constructors and destructors?

1053


how to split string in java?

1202


What are the topics in core java?

1056


Why heap memory is called heap?

1039


What is string in java?

1001


Define how does a try statement determine which catch clause should be used to handle an exception?

1147


How do you sort in ascending order in java?

864


What is multiple inheritance? Is it supported by java?

958


What are the types of inner classes (non-static nested class) used in java?

1053