What is Overriding and how can it be used?
Answer Posted / sajith
If class define method using same name,parameter,return
type,argument in its superclass then it is called overriding.
sub class should be override parentclass
Is This Answer Correct ? | 9 Yes | 5 No |
Post New Answer View All Answers
How many types of exception can occur in a java program?
What is Major and importance difference between for and foreach loop ?
Why is java called the platform independent programming language?
Can you extend main method in java?
What is n in java?
How can an exception be thrown manually by a programmer?
How can we make sure main() is the last thread to finish in java program?
what is enumset?
What is r * in math?
Which variables are stored in heap?
What methods are used in Servlet?Applet communication?
Which is best ide for java?
What are the common uses of "this" keyword in java ?
Why can't we use static class instead of singleton?
How does multithreading take place on a computer with a single cpu?