What is abstrac class?where is it use?
Answers were Sorted based on User's Feedback
Answer / gp
Class which cannot be initiated is an abstract class.
You can make a class abstract by declaring a pure virtual method inside the class. For example:
class base
{
void func()=0;
};
void main()
{
base b;
}
Now you cannot instantiate base class.
The class which inherits this base class will also become abstract unless you define a body of the func() method in inherited class.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / vijaya lakshmi
abstrac class always said to algorithm. Bacause you
ara writing program before explain a program in algorithm
| Is This Answer Correct ? | 0 Yes | 4 No |
write a program to find 2 power of a 5digit number with out using big int and exponent ?
can we make a class static without using static keyword?
What is difference between pop and oop?
difference between structure and union.
What is object in oops?
what is difference between objects and function
How can you overcome the diamond problem in inheritance?
The type of variable a pointer points to must be the part of pointer's definition so that:
Is abstract thinking intelligence?
What is the use of fflush(stdin) in c++?
what is the realstic modeling?
What is the use of oops?