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 |
4. What do you mean by a prototype? Define analysis prototype
What is polymorphism explain its types?
What are oops methods?
What is the real time example of inheritance?
what is meant by files?
Give two or more real cenario of virtual function and vertual object
WAP to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
What are the data types in oop?
There are 2 empty jars of 5 and 3 liters capacity. And a river is flowing besides. I want to measure 4 liters of wanter using these 2 jars. How do you do this?
Whats oop mean?
Generally, in all C++ programs, texts are in white colour. Can we change the colour of the text(either input or output or both)? If so, help me out.
how many types of notations are in java
1 Answers National University of Modern Languages (NUML),