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


Please Help Members By Posting Answers For Below Questions

What is polymorphism and its types?

598


What is the difference between static polymorphism and dynamic polymorphism?

586


Which is not an object oriented programming language?

544


How long to learn object oriented programming?

565


What is coupling in oop?

600






What are different oops concepts?

578


How to call a non virtual function in the derived class by using base class pointer

5272


What causes polymorphism?

577


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.

631


Write a program to sort the number with different sorts in one program ??

1921


What is encapsulation and abstraction? How are they implemented in C++?

637


What is encapsulation with example?

581


What is object in oop?

680


What is a null tree?

632


what is difference between class template and template class?

2159