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

can a static method be overridden

Answer Posted / partha

@ Mayank

Static methods are *NEVER* ever be overridden, even if you
try to override a static method of the super class in your
subclass, it will compile because in this you are simply
redeclaring the static method of your superclass in your
subclass. Redeclaring a method is not the same as overriding
a method.

The bottomline is

** STATIC METHODS CAN NEVER BE OVERRIDDEN **

Is This Answer Correct ?    8 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How task's priority is used in scheduling?

2304


What are the benefits of detached objects?

1054


Explain what is orm?

1114


What is the difference between ear, jar and war file?

1145


Why doesn’t the focus feature on the tag work in every circumstance?

1113


When a thread blocks on i/o?

1109


What’s jboss jbpm?

1047


What modifiers may be used with an interface declaration?

1143


How are the elements of a borderlayout organized?

1121


How can I scroll through list of pages like the search results in google?

971


What is bean? Where can it be used?

1177


What is local interface. How values will be passed?

1031


To identify IDL language what mapping mechanism is used?

3948


What is mdb and what is the special feature of that?

1057


Explain phantom read?

2238