What is the difference between Abstract and Interface?

Answer Posted / rajesh kushwaha

• Abstract classes can have concrete methods while
interfaces have no methods implemented.

• Interfaces do not come in inheriting chain, while
abstract classes come in inheritance.

Is This Answer Correct ?    15 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which are the access modifiers available in c#?

521


What is default value of decimal c#?

478


Is c++ or c# better?

542


Can dictionary have duplicate keys c#?

503


What is serialization in dot net?

483






In C#, explain the difference between overloading and overriding.

564


Explain the difference between directcast and ctype.

455


Why singleton class is sealed in c#?

514


What Is The Difference Between The System.array.copyto() And System.array.clone()?

534


What is the data provider name to connect to access database?

501


What is a dll in c#?

446


Is an array an object c#?

542


What is task parallel library?

512


When Should You Call The Garbage Collector In .net?

553


Explain About CLS?

547