C++ Interview Questions

C++ Interview

C++ Interview Questions

C++ / OOP /Basic Interview

Interface help to inherit multiple classes's properties into single class which is not possble by interitance, Suppose below pic we have class A,it has properties and methods. now i want to inherit its properties to class B,we can do it using inheritance but beside we have class C and class D. we wanna inherit also these class in class B .that case inheritance not possible,interface help to do it.
A function that calls itself is known as a recursive function.

Comments are closed.