How do you make derived class as an abstract class?
Answer / karthick s
We can make the derived class as an abstract,by inheriting
the class(base) which containing one pure virtual function.
After inheriting, we can't override it in derived class.
Then the derived class becomes abstract...
| Is This Answer Correct ? | 22 Yes | 4 No |
Get me an image implementation program.
diff between Abstract class Interfaces?
what is a ststic variable and stiticfunction briefly explain with exmple and in which case we use
Write a C++ program to conduct an election of a mayor.Declare a class ELECTION With the following specification: Data member: Name 25 character Age Integer symbol 1 character Member functions: To accept data for 20 contestant To accept symbol as voting from 100 voters. To declare the winner and the loser.
1 Answers Global Academy, Infotech,
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
What is overriding vs overloading?
Write a program to accept a number and to print numbers in pyramid format? for eg:for a no. 5 1 212 32123 4321234 543212345
why in java first invoke public static void main(String args[]) method????Why not public static void method1(String args[])??
what is abstract class ? when is used in real time ? give a exp
Precompilation ?
What do you mean by pure virtual functions?
What is meant by oops concept?