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 virtual class and friend class?

Answer Posted / govind

A virtual class is an inner class that can be overridden by
derived classes of the outer class.buti in this virtual
class cant access the privat member data and funtion .

A friend class is can access the privat member data and
function .

Is This Answer Correct ?    14 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1970


How to call a non virtual function in the derived class by using base class pointer

6684


What does oop mean in snapchat?

1298


What is polymorphism and example?

1098


how to get the oracle certification? send me the answer

2203


Why is it so that we can have virtual constructors but we cannot have virtual destructors?

5048


Get me an image implementation program.

2044


What is methods in oop?

1033


What are the 4 pillars of oop?

1204


Templates mean

2151


write a program to find 2 power of a 5digit number with out using big int and exponent ?

2437


what type of questions

2175


Why is static class not inherited?

1152


What does <> mean pseudocode?

1261


c++ program to swap the objects of two different classes

2471