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
Discuss 2D arrays.
Can a class with private constructor be extended?
which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com
How will you initialize an Applet?
Is intellij better than eclipse?
Explain where variables are created in memory?
What is namespace in java?
can java object be locked down for exclusive use by a given thread? : Java thread
Explain method overloading?
What is gui programming?
How to perform quicksort in java?
What is the statements?
Why is string class considered immutable?
What are the main concepts of oops in java?
How are the elements of a gridbaglayout organized?