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

i think we r discussing c++ not java MR S.v.vignesh.....

!!

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is a class? Explain with an example.

881


Explain stack & heap objects?

821


How does java differ from c and c++?

726


How much is c++ certification?

774


What is vectorial capacity?

925


What is the best ide for c++?

798


Why null pointer is used?

786


what are the iterator and generic algorithms.

1900


What are c++ redistributables?

780


What do you mean by inheritance in c++? Explain its types.

820


What is difference between rand () and srand ()?

829


Is there a c++ certification?

787


How did c++ start?

833


How to give an alternate name to a namespace?

797


Eplain extern keyword?

774