what is the difference between interface and abstraction?

Answer Posted / durgaprasad shetty

Interface produce loose coupling. Abstraction produce tight
coupling now u r question what is coupling coupling is
dependency between functions.
Abstraction methods dont have body.
Interace mainly using in multiple inheritence because
abstract will not support to multiple inheritence.

and + Ashish gupta's Answer

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a Assembly?

550


List the 5 different access modifiers in c#?

513


What is the difference between int.parse and int.tryparse methods?

573


Why do we use overloading in c#?

484


What is the advantage of extension method in c#?

470






Is stringbuilder thread safe c#?

488


What is console used for?

533


Why do we need to call CG.SupressFinalize?

562


What is token in c#?

537


What is windows form in c#?

544


Why abstract class is not instantiated in c#?

531


How does insertion sort work?

520


Why we use get set property in c#?

481


What does the dispose method do with the connection object?

540


What is dto c#?

488