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 a constructor and how is it called?
What is the size of a vector?
Why is c++ a mid-level programming language?
How much is c++ certification?
Who made c++?
What is the use of default constructor?
How compile and run c++ program in turbo c++?
Is there a c++ certification?
What is private, public and protected inheritance?
How a pointer differs from a reference?
What is a c++ class?
Write a c program for binary addition of two 8 bit numbers.
What is input operator in c++?
What is the benefit of encapsulation?
Define stacks. Provide an example where they are useful.