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
Differentiate between C and C++.
What is meant by the term name mangling in c++?
What is a namespace in c++?
Explain rtti.
What are files in c++?
What is the best way to take screenshots of a window with c++ in windows?
What do you mean by translation unit?
What is the main function 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
Write a program to add three numbers in C++ utilizing classes.
What is a try block?
How do you declare a set in c++?
What is difference between rand () and srand ()?
Why Pointers are not used in C++?
Are vectors passed by reference c++?