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

to find out the minimum of two integer number of two different classes using friend function

1645


Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.

704


Can an interface inherit a class?

565


What do you mean by overloading?

586


What is polymorphism used for?

577






can we make game by using c

3434


What is super in oop?

601


What is static modifier?

636


Why oops is important?

616


what are the ways in which a constructors can be called?

1585


What is the point of polymorphism?

592


What is polymorphism explain its types?

690


Why do we use inheritance?

630


What is the difference between static polymorphism and dynamic polymorphism?

587


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2110