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 / mms zubeir

Thanks for the detailed answer. It's really pleased me the
way your answer is. Initially I wrote 'partial
implementation' since I couldn't get the details out of
your first answer. I am looking at the codeguru solution.
Thanks once again.

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 binary file? List the merits and demerits of the binary file usagein C++.

738


What is the use of 'using' declaration in c++?

636


You want to link a c++ program to c functions. How would you do it?

545


Can we distribute function templates and class templates in object libraries?

597


How is new() different from malloc()?

637






What is class and structure in c++?

563


describe private access specifiers?

649


What is setiosflags c++?

539


What is dynamic and static typing?

679


Is c++ a high level language?

560


Differentiate between realloc() and free().

600


What header file is needed for exit(); a) stdlib.h b) conio.h c) dos.h

624


what you know about c++?

669


Why do we use iterators?

629


Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

2075