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 / rohit salecha

Overriding is Dynamic Polymorphism , i.e. the method will
be called at run-time and not at compile time. and static
methods are called at compile time(Hence no Compiler Error).
So if you are overriding a static method , you defeat the
purpose of having having a dynamic binding.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why does the option tag render selected=selected instead of just selected?

1246


What is the purpose of the wait(), notify(), and notifyall() methods?

1088


What restrictions are placed on the location of a package statement within a source code file?

1160


What are callback interfaces?

1140


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

1199


what are the advantages of JTA over JTS?

2294


If your ui seems to freeze periodically, what might be a likely reason?

1119


Can I map more than one table in a cmp?

1132


whats is mean by tiles in struts

2301


What are the purpose of introspection?

1266


Which textcomponent method is used to set a textcomponent to the read-only state?

1186


how to make a index.jsp for running the site in internet and find an error for connection with weblogic server and java that give an error invalid object name.and how to maintain session.

2289


What is jboss?

1083


How a component can be placed on Windows?

2921


Why do I get a duplicate name error when loading a jar file?

1203