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?The constructer should not be Private,as object
instantiation should be allowed.

Answer Posted / s.v.vignesh

heyy .. very simple yar..
juz add final keyword b4 t class..
u cannot inherit tat class.....

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Who created c++?

1010


What is the difference between a definition and a declaration?

1005


How does c++ structure differ from c++ class?

1054


Explain the properties and principles of oop.

960


Which bitwise operator is used to check whether a particular bit is on or off?

1011


What is do..while loops structure?

1084


Are there interfaces in c++?

937


How do you print a string on the printer?

989


Is c++ the hardest language?

934


How is computer programming useful in real life?

1000


What is a character in c++?

996


What is the need of a destructor?

1067


What's the order in which the objects in an array are destructed?

1337


What do you mean by static variables?

1105


Why do we use pointers in c++?

971