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
Can a class have more than 1 destructor?
What is lastindexof c#?
Why interface is required?
Distinguish between system.string and system.text.stringbuilder classes?
What is a console device?
What is selector c#?
How many types of inheritance are there in c#?
What are the types of delegates in c#?
How more than one version of an assembly can keep in same place?
How does one compare strings in c#?
What do you mean by streamreader/streamwriter class in c#?
What are collections in c#?
What is disconnected data architecture in c#?
Is c sharp open source?
Explain the use of Mutex in C#?