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 / bala

Final will do in Java. But not in C++.

I hope, bye creating all the constructor,copy constructor
in private will stop inherite the class.
Plz refer 'Singleton Pattern'

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

program for insertion ,deletion,sorting in double link list

2630


What is polymorphism programming?

1069


What is the difference between inheritance and polymorphism?

1045


How do you use inheritance in unity?

1024


What is static in oop?

1024


Advantage and disadvantage of routing in telecom sector

1248


What is the difference between encapsulation and polymorphism?

1046


What is multilevel inheritance in oop?

970


What are the types of abstraction?

995


What is the significance of classes in oop?

1058


What is stream in oop?

1245


What are the benefits of interface?

993


Get me an image implementation program.

1938


Why is encapsulation used?

947


Why do pointers exist?

1045