Answer Posted / jasbir singh
An abstract class is a class with at least one function
without definitions.
An Interface is a class which only contains function
declarations, all the functions are specifically and
separately defined later. And you can't create objects of
these classes.
Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
What are the three parts of a simple empty class?
What is an example of genetic polymorphism?
Can we define a class within the interface?
How do you define a class in oop?
What are different oops concepts?
What is difference between abstraction and encapsulation?
Where You Can Use Interface in your Project
What is polymorphism what is it for and how is it used?
What is inheritance write a program to show use of inheritance?
What is encapsulation example?
How do you answer polymorphism?
What is the types of inheritance?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is the real life example of polymorphism?