In a class only declaration of the function is there but
defintion is not there then what is that function?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program which employs Recursion

985


What do you mean by storage classes?

1136


Why is the function main() special?

856


What is a flag in c++?

805


Is c or c++ more useful?

804


What is the default access level?

815


How is objective c different from c++?

997


What does int * mean in c++?

955


In int main(int argc, char *argv[]) what is argv[0] a) The first argument passed into the program b) The program name c) You can't define main like that

840


What is the fastest c++ compiler?

772


which one is equivalent to multiplying by 2:Left shifting a number by 1 or Left shifting an unsigned int or char by 1?

953


What is scope resolution operator in c++ with example?

782


When should we use multiple inheritance?

801


What are the operators in c++?

851


What is the use of 'this' pointer?

1014