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...

You have one base class virtual function how will call that
function from derived class?

Answer Posted / swetcha

class a
{
public virtual int m()
{
return 1;
}
}
class b:a
{
public int j()
{
return m();
}
}

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does <> mean pseudocode?

1111


What does it mean when someone says I oop?

1015


What is class and example?

1090


Why multiple inheritance is not allowed?

1073


What are the benefits of oop?

1165


What is the types of inheritance?

1024


Give an example where we have to specifically use C programming language and C++ programming language cannot be used?

1568


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2547


Can static class have constructor?

983


how to get the oracle certification? send me the answer

2100


Can a varargs method be overloaded?

1038


Which is better struts or spring?

984


What are oops functions?

961


What is class and object in oops?

1063


What is this pointer in oop?

997