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

What is dll hell, and how does .net solve it?

707


What is serializable in c#?

680


Which is faster hashtable or dictionary?

677


What is the use of expression tree in c#?

635


What are the 4 pillars of any object oriented programming language?

637


Can we inherit static class in c#?

675


What are the different types of classes in c#?

688


write code for inserting and updating recoards in sql server database using connected architecture & records shoulds displayed in grid view ( use c# )

2171


what optimizations does the c# compiler perform when you use the /optimize+ compiler option?

795


What does the parsefloat function do?

662


What is the difference between list and arraylist c#?

696


What is the major difference between a custom control and user control?

766


What do you mean by string objects are immutable?

689


What is null in database?

640


What is the value which is accepted by all data types ?

734