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 |
Get me a number puzzle game-program
What do you mean by variable?
Whats is abstraction in oops?
What is the difference between static polymorphism and dynamic polymorphism?
What is polymorphism what is it for and how is it used?
What is data binding in oops?
Can we have inheritance without polymorphism?
Which language is not a true object oriented programming language?
When is it necessary to use member-wise initialization list in C++?
i hav very low percentage in 12th n BSCwhich is around 50.......coz it was just imposed on me 2 b a science graduate,nw m doin MCA n hav aggregate 74% ....what shud i answer if company's HR ask me about dis much low previous percentage??????
What are main features of oop?
What is destructor in oop?