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 / sushant

@ guys above.... if you don't know the exact vcorrect
answers don't put your guesses here so as to confuse people
further.

static method can NEVER be overridden.

Static method in a way are hidden and are called on the
Class itself not on the instance.You can do it but it
implicitly calls the static methods on the class.

Overriding doesn't just mean having the same method name in
the subclass as it is in the superclass. You can still have
the same method name in the subclass but it is not
overriding the superclass method and it is not polymorphism
as well. For more info please google on this.

static method can NEVER be overridden.

-Sushant

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the argument type of a programs main() method?

1068


Java is fully object oriented languages or not?

947


which type of objects reference will be given to client?

2439


Why are my checkboxes not being set from on to off?

1091


Difference between swing and awt?

1180


How would you detect a keypress in a jcombobox?

1089


Why use a datasource when you can directly specify a connection details? (in a J2EE application)

4176


What are the design considerations while making a choice between using interface and abstract class?

1024


How will you pass parameters in RMI? Why do you serialize?

1172


What are the call back methods in entity bean?

1013


What is jboss?

986


If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how would I do that?

1002


What do you mean by Socket Programming?

1035


Can I run seam outside of jboss as?

1036


Which component handles cluster communication in jboss?

1062