In a class only declaration of the function is there but
defintion is not there then what is that function?
Answers were Sorted based on User's Feedback
Answer / santhi
abstract functions
if u specify any function as abstract,there itself in it's
home class u can't find solution,u have to define those
function in the later derived classes through inheritance.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / manju
In a class only declaration of function is there but
definition is not there then such functions are called as
abstract functions.
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / bharat
If a function does't have definition is a pure virtual
function . The class which have the pure virtual function is
called as Abstract Class or Interface.
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / sahasra
We can call it as the interface also in case of java,where
the interface contains only definiton where as
implementation is in other classes which are implemented
this interface
| Is This Answer Correct ? | 0 Yes | 0 No |
How do you invoke a base member function from a derived class in which you have not overridden that function?
What is jump statement in C++?
What do c++ programmers do?
What is the sequence of destruction of local objects?
What data structure is fastest, on average, for retrieving data: a) Binary Tree b) Hash Table c) Stack
What are advantages of using friend classes?
What is a memory leak c++?
Is swift faster than c++?
Why struct is used in c++?
How to defines the function in c++?
Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. Your program should work for squares of all side sizes between 1 and 20. --- │ │ │ │ │ │ ---
How can I improve my c++ skills?