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

Static Method methods are class methods (doesnot belong to
particular Object) so the concept of runtime polymorphism
doesn't arise here..

Staic void dostuff() method is actually redefined in
subclass but not overridden..

Hence Static methods can NEVER be overridden

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

difference between  ejb,struts,hibernate,spring and jsp

2919


Is “abc” a primitive value?

1156


Difference between loadclass and class.forname?

1093


Explain the difference between object state and behavior?

1113


Name three subclasses of the component class?

1156


Which containers use a border layout as their default layout?

1195


Are there books about seam?

1157


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

4340


What are the different types of exception?

1074


what are the activation groupworks?

2245


Explain phantom read?

2270


What are transaction attributes?

1154


What is permgen or permanent generation?

1075


Define prototype?

1120


What must a class do to implement an interface?

1274