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

What does no cap mean?

1118


What is encapsulation with example?

1202


What is advantage of inheritance?

1227


What type of loop is a for loop?

1139


What is static modifier?

1330


Why is static class not inherited?

1155


What is a function in oop?

1141


What is an advantage of polymorphism?

1140


What is abstraction encapsulation?

1202


write a programe to calculate the simple intrest and compund intrest using by function overlading

2265


Can you inherit a private class?

1144


Why polymorphism is used in oops?

1109


What is abstraction oop?

1149


What makes a language oop?

1133


Why is object oriented programming so hard?

1134