What is the difference between Abstract and Interface?
Answer Posted / shiba shankar
1.In abstact class there may or may not have abstract
method.If there is one abstract method that must be a
abstract class.In interface the methods are bydefault
static and final.
2.Once we make abstract class means that's to be
extended.And the interface to be imlemented by making a
class.Through interface we can overcome the
multipleinheritance.
| Is This Answer Correct ? | 17 Yes | 11 No |
Post New Answer View All Answers
Are c# objects passed by reference?
Explain the difference between “as” and “is” operators used in c#?
What is delegate in c#?
What is garbage collection? How to force garbage collector to run?
What exception can an overridden method throw in comparison with the method it is overriding?
What is constructor overloading in c#?
What is a method c#?
What is interface used in c#?
What are the 3 different types of arrays?
Name some properties of array.
What is data dictionary in c#?
What is a protected class in c#?
What is the max value of int32 in c#?
Describe the overview of clr integration.
explain the three services model commonly know as a three-tier application.