What is Overriding and how can it be used?
Answer Posted / gopalramana
To define method in subclass having same method name as
method in superclass having same return type,same
parameters,then method in subclass should be override
method in superclass.
used in code repalcement.
| Is This Answer Correct ? | 17 Yes | 5 No |
Post New Answer View All Answers
How do I write a self declaration?
What ide should I use for java?
What is a lock or purpose of locks in java?
What is the format specifier?
How does the java compiler work?
What is the default value of the local variables?
What type of language is java?
Write a java program for binary search?
What is the purpose of static methods and static variables?
How do you sort objects in java?
Can a constructor be protected?
Can we assign the reference to this variable?
Tell me about your ability to work under pressure
What is java Applet?
Explain when we should make an instance variable private.