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
What is a class loader? What are the different class loaders used by jvm?
Difference between hashmap and hashtable?
Why a client should be multithreading? Explain.
What’s jboss cache in short?
What is the difference between the ‘font’ and ‘fontmetrics’ class?
Why does the tag url-encode javascript and mailto links?
What is a tasks priority and how is it used in scheduling?
Explain ioc concept?
What is the highest-level event class of the event-delegation model?
What are the different approaches to represent an inheritance hierarchy?
Difference between new operator and class.forname().newinstance()?
What are the services in RMI ?
Explain phantom read?
How messaging services are done, before release of JMS?
What is the relationship between the canvas class and the graphics class?