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

How would you stop a class from class from being derived or
inherited.

Answer Posted / vishaka

The class shoul be made abstract to stop it from being
derived or inherited. To make a class abstract, it should
have atleast one pure virtual function.

Is This Answer Correct ?    2 Yes 21 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of polymorphism?

1027


What is basic concept of oop?

1164


What is inheritance and how many types of inheritance?

1098


Why interface is used?

1014


How to use CMutex, CSemaphore in VC++ MFC

4777


What is encapsulation with example?

1099


What are the types of abstraction?

1071


Can private class be inherited?

1166


Is data hiding and abstraction same?

1017


What is a class and object?

1049


What is the main purpose of inheritance law?

1197


Why do we use oop?

1096


Why is oop useful?

1100


How do you explain polymorphism?

1071


What exactly is polymorphism?

1122