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

Hi pals,
I agree with sushant who says that method overriding is not just using same name for the method.
But I want make some things more clear.
first of all Whats Method overriding , giving a new implementation for the parent or base class methods mean while maintaining same method definition.
If thats the case
You can override static methods by all means.
In this case only thing differs is way of accessing the methods , as its static access it by their class name.

And also

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

whats is statement and procedure

2137


Why doesn’t the focus feature on the tag work in every circumstance?

1037


What are the types of scaling?

1050


What is the difference between the ‘font’ and ‘fontmetrics’ class?

1111


When is the best time to validate input?

1064


int x=5,i=1,y=0; while(i<=5) { y=x++ + ++x; i=i+2; } System.out.println(x); System.out.println(y); System.out.println(i); How to solve this? Please explain!

1781


difference between  ejb,struts,hibernate,spring and jsp

2816


Difference between DurableSubscription and non- DurableSubscription?

2138


Explain ioc concept?

1076


For which statements does it make sense to use a label?

1020


What do you mean by Socket Programming?

1035


What is meant by method chaining?

1095


how to use debug in my elipse to solve problems that exist in my project

2222


To what value is a variable of the string type automatically initialized?

1082


What is the purpose of the wait() method?

1110