What?s the difference between an interface and abstract class?

Answer Posted / guest

In the interface all methods must be abstract, in the
abstract class some methods can be concrete. In the
interface no accessibility modifiers are allowed, which is
ok in abstract classes

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is array and its types in c#?

518


How to use exception handling in stored procedure?

540


How do you create user defined data types in c#?

523


What is reference types in c#?

471


How to implement delegates in c#.net

545






What is the difference between a field and a property in c#?

490


When a switch is said to be congested?

576


What is the difference between a variable and a literal?

532


What are the properties of string?

484


What is static variable in c#?

487


Why do we need interface in c#?

496


What is the difference between paramaterized constructor and copy constructor?

505


What is private void in c#?

518


Is inheritance possible in c sharp?

626


Which is faster array or arraylist in c#?

475