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 is basic concept of static in java ?



What is basic concept of static in java ?..

Answer / narayanarao bp

Static means one per class, not one for each object no matter how many instance of a class might exist. This means that you can use them without creating an instance of a class.Static methods are implicitly final, because overriding is done based on the type of the object, and static methods are attached to a class, not an object. A static method in a superclass can be shadowed by another static method in a subclass, as long as the original method was not declared final. However, you can't override a static method with a nonstatic method. In other words, you can't change a static method into an instance method in a subclass.

Is This Answer Correct ?    15 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is an object?s lock? Give name of object?s that have locks?

2 Answers  


What is unicode with example?

0 Answers  


How can you say HashMap is syncronized?

14 Answers   Arete, IBM,


Can you override a private or static method in java?

1 Answers  


What is the difference between JVM and JRE?

0 Answers  


whether java is fully object oriented language or partially object oriented language

4 Answers   Infosys, ME, SMK,


Explain about complier design(phases)

0 Answers   Aditi Placement Service,


What a static class can contains?

0 Answers  


Is set ordered?

0 Answers  


Package1 and Package2 both have a method name lets say "methodA" with different implementation. When I import both the packages in a java class how can I use both the methods?

7 Answers   Ericsson,


when to use abstract class and when to use interface?

16 Answers   Exterro, iGate, IonIdea,


What is a dynamic array java?

0 Answers  


Categories