What is Overriding and how can it be used?
Answer Posted / ashish sharma
overriding comes with two class ( base and drived class )
function in the base class is like
public virtual void Display();
function in the drived class is like
public override void Display();
this function overrides the base class .
Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
What do heavy weight components mean in java programming?
What happens if a constructor is declared private?
How many types of memory areas are allocated by JVM in java?
What is the final blank variable?
What are java packages?
What are access specifiers in java ?
Can a static block throw exception?
Which software is used for java programming?
What is the difference between a vector & an array list?
What does jre stand for?
What is maximum size of arraylist in java?
What is default switch case? Give example.
What is the benefit of abstract class?
What is the collection interface?
Can java object be locked down for exclusive use by a given thread?