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 |
WAP to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
what is the 3 types of system development life cycle
Can we call a base class method without creating instance?
in the following, A D B G E C F Each of the seven digits from 0,1,2,3,4,5,6,7,8,9 is: a)Represented by a different letter in abov fig: b)Positioned in the fig abov so tht A*B*C,B*G*E,D*E*F are equal. wch does g represents? C
Is this job good for future? can do this job post grduate student?
What are the fields of vtable
How to reverse a sentence in c program ex: ram is a good boy answer: boy good a is ram
write a program to print * * * * * *
Which language is pure oop?
Why do we need oop?
explain defference between structure and class with example
c++ is a pure object oriented programming or not?