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

What is local interface. How values will be passed?

981


Explain how will the struts know which action class to call when you submit a form?

913


Can I run seam with jdk 1.4 and earlier?

937


Which characters may be used as the second character of an identifier, but not as the first character of an identifier?

995


Name the class that is used to bind the server object with RMI Registry?

2112


What are the different algorithms used for clustering?

1022


Are enterprise beans allowed to use thread.sleep()?

1104


Where can I ask questions and make suggestions about seam?

1015


Can you control when passivation occurs?

1008


Can you give me a simple example of using the requiredif validator rule?

1066


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

1090


What are callback interfaces?

1050


What is a policy?

2241


What are the different methods of identifying an object?

1003


Can I use multiple html form elements with the same name?

998