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
What is long in c++?
Explain the purpose of the keyword volatile.
What is an adaptor class or wrapper class in c++?
Differentiate between an external iterator and an internal iterator? What is the advantage of an external iterator.
What are proxy objects in c++?
What is meant by entry controlled loop?
what are the decision making statements in C++? Explain if statement with an example?
what is C++ exceptional handling?
What are the various storage classes in C++?
What is iostream in c++ used for?
Using a smart pointer can we iterate through a container?
If you don’t declare a return value, what type of return value is assumed?
What is near, far and huge pointers? How many bytes are occupied by them?
What is data types c++?
What are the advantages of using a pointer?