Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is starvation?

1213


What exactly is a .class file?

983


What is finalize()? Is finalize() similar to a destructor?

908


Wha is the output from system.out.println(“hello”+null); ?

1084


What happens when heap memory is full?

922


How many ways can we create the string object?

958


What is a instance variable in java?

982


What are "class access modifiers" in Java?

1052


Define Multiprogramming and Multiprocessing in java.

1060


Does constructor return any value?

969


What is singletonlist in java?

906


What is ascii code?

1151


What does nullpointerexception mean?

1021


Why for each loop is used?

957


What are the limitations of procedural programming approach?

997