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

What is the difference between final, finally and finalize()?

1054


What is the requirement of thread in java?

993


What is meant by inheritance and what are its advantages?

1039


What is meant by class loader? How many types are there? When will we use them?

907


What is the class in java?

958


What is meant by collection in java?

1004


What are the two main uses of volatile in Java?

1009


When is update method called?

1083


Define canvas?

909


What is meant by JVM? Is JVM platform independent or not?

1003


Which container method is used to cause a container to be laid out and redisplayed in java programming?

1049


What are alternatives to java serialization?

1048


4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (

1807


How transient variable is different from volatile variable?

1014


How we can make copy of a java object?

1040