what is the difference b/w abstract and interface?
Answer Posted / n.suresh
Abstract can,t support multiple inheritence.
Interface can suppport the multiple inheritence.
Abstract have accesbulity modifiers.
Interface have no accesbulity modifiers.
Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
What is polymorphism and its types?
What is the difference between static polymorphism and dynamic polymorphism?
Which is not an object oriented programming language?
How long to learn object oriented programming?
What is coupling in oop?
What are different oops concepts?
How to call a non virtual function in the derived class by using base class pointer
What causes polymorphism?
Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.
Write a program to sort the number with different sorts in one program ??
What is encapsulation and abstraction? How are they implemented in C++?
What is encapsulation with example?
What is object in oop?
What is a null tree?
what is difference between class template and template class?