What is purpose of abstract class?
Answer / Bhavna Tyagi
Abstract classes in C++ are used to provide a base structure for inheritance. They cannot be instantiated directly but are intended to be inherited and specialized by other classes, ensuring that objects derived from them meet certain requirements.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain about vectors in c ++?
What is the purpose of the "delete" operator?
write the code that display the format just like 1 2 1 3 2 1 4 3 2 1 5 4 3 2 1 6 5 4 3 2 1
How many lines of code you have written for a single program?
On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?
What are c++ tokens?
What is #include iostream h in c++?
What is an orthogonal base class in c++?
Explain the difference between abstract class and interface in c++?
What is conditions when using boolean operators?
Problem 6: Area of a trapezoid can be calculated by the following formula: A=(b1 b2)×h2 where b1 and b2 are the parallel sides or the bases and h is length of height Write a C code of this program
What doescout<<(0==0) print out a) 0 b) 1 c) Compiler error: Lvalue required