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 the purpose of extern storage specifier?
Do you know the use of vtable?
How many namespaces are there in c++?
What is data type in c++?
What is namespace std; and what is consists of?
Function can be overloaded based on the parameter which is a value or a reference. Explain if the statement is true.
How do you add an element to a set in c++?
Which is not a valid keyword a) public b) protected c) guarded
How will you call C functions from C ++ and vice-versa?
Explain data encapsulation?
How do you clear a set in c++?
What is set in c++?
Can you write a function similar to printf()?
What are c++ manipulators?
Define stacks. Provide an example where they are useful.