What is Overriding and how can it be used?
Answer Posted / vikneswarank
the class and it sub contain one method with same name and
same signature and same return type also
sub class in method will override in super class.
in case of overridding during run time jvm knows which
method it will call.
| Is This Answer Correct ? | 9 Yes | 3 No |
Post New Answer View All Answers
How variables are stored in memory?
how to write a server program and sending the mails to the server using smtp protocol please help me
What is command line used for?
Write a program to print fibonacci series
What is final keyword in java?
What is the purpose of the System class?
Can a lock be acquired on a class in java programming?
What is an empty string in css?
What is classes in java?
What is finalize() function in java?
How do you use compareto?
how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)
What is the difference between choice and list?
What are benefits of java?
What are namespaces in java?