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 collection class in c#?

564


Explain how can I get around scope problems in a try/catch?

565


What is callback method in c#?

570


How long has c# been around?

639


Why is c# used?

562






What is default value of decimal c#?

555


Explain the difference between a Private Assembly and a Shared Assembly

602


What do you mean by saying a "class is a reference type"?

595


What debugging tools come with the .NET ssSDK?

810


Why do we use inheritance in c#?

573


Explain Direct CAST vs CType ?

630


Can abstract class instantiated c#?

580


Explain the difference between boxing and unboxing.

630


Does c# do array bounds checking?

621


Explain the concepts of cts and cls(common language specification).

594