How to avoid a class from instantiation?
Answer Posted / vidushi
Make the class abstract
abstract class abc
{
.....
.....
};
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain abstraction.
What is the difference between public, private, and protected access?
what are the iterator and generic algorithms.
What is the difference between interpreters and compilers?
What is the best c++ compiler?
Is empty stack c++?
What is exception handling? Does c++ support exception handling?
What is the advantage of c++ over c?
Write a Program for read a line from file from location N1 to N2 using command line arguments. Eg:exe 10 20 a.c
What is meant by the term name mangling in c++?
Write about the scope resolution operator?
Can member data be public?
Can class objects be passed as function arguments?
Why is c++ difficult?
How to declare a pointer to an array of integers?