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
whats is statement and procedure
Why doesn’t the focus feature on the tag work in every circumstance?
What are the types of scaling?
What is the difference between the ‘font’ and ‘fontmetrics’ class?
When is the best time to validate input?
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!
difference between ejb,struts,hibernate,spring and jsp
Difference between DurableSubscription and non- DurableSubscription?
Explain ioc concept?
For which statements does it make sense to use a label?
What do you mean by Socket Programming?
What is meant by method chaining?
how to use debug in my elipse to solve problems that exist in my project
To what value is a variable of the string type automatically initialized?
What is the purpose of the wait() method?