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 / kirti joshi

friend class is used to share private data between 2 or
more classes the function declared as freind are not called
using any object it is called like normal .the arguments to
such functions is normally object of a class.
virtual class is used for run time polymorphism when object
is linked to procedure call at run time

Is This Answer Correct ?    53 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use oop?

1167


any one please tell me the purpose of operator overloading

2444


What is multilevel inheritance?

1257


What is the main feature of oop?

1202


write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory

3273


What is polymorphism used for?

1111


What is the important feature of inheritance?

1188


Why oops is important?

1195


2. Give the different notations for the class.\

2223


• What are the desirable attributes for memory managment?

2281


Can bst contain duplicates?

1243


What is a null tree?

1192


Can we define a class within the interface?

1100


Why is static class not inherited?

1152


How do you define a class in oop?

1173