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 ripple effect?

1053


How primary key is implemented in Oracle?

2431


How substring() method of string class create memory leaks?

1024


Difference between loadclass and class.forname?

1034


Name three component subclasses that support painting?

1054


What is a session? Can you share a session object between different theads?

967


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

1045


Where can I ask questions and make suggestions about seam?

1044


How to pass parameters in RMI?

2245


What is the difference between the font and fontmetrics classes?

1130


Where we can write Rmi registry in the code, without having to write it at the command prompt?

2758


Should synchronization primitives be used on bean methods?

1047


To identify IDL language what mapping mechanism is used?

3926


What must a class do to implement an interface?

1172


What is the relationship between local interfaces and container-managed relationships?

1101