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
What is the unit of plancks constant?
Why hashcode is used in java?
What are the types of relation?
what is a green thread? : Java thread
Can we extend immutable class?
What is the base class of all classes?
What is nested interface?
Suppose if we have variable ' I ' in run method, if I can create one or more thread each thread will occupy a separate copy or same variable will be shared?
How do you convert an int to a double in java?
What are the parts of a method?
What does system out println () do?
What is the use of default method in interface in java?
What is the relationship between clipping and repainting under awt?
What is the difference between an if statement and a switch statement?
What are triggers in DB? Explain their types. How do they work?