What is Interface and Abstraction (in real time scenario)
Answer Posted / pratap kumar jna
Interface:
1.Through interface we achive the multiple inheritance...i
meeans one class can implmemnts multiple interface.
2.Interface only contains abstract method means only
signature part..
LIKE int method1(int x,int y);
3.we achive actual run time polymorphism....
ABSTRACT :
Abstract class contain abstract and concrate mthod..
class can inhrit only one abstarct class..
Is This Answer Correct ? | 10 Yes | 4 No |
Post New Answer View All Answers
How does c# achieve polymorphism?
How more than one version of an assembly can keep in same place?
What is super class in c#?
Describe an interface class?
What is lazy loading and eager loading in c#?
What is array and arraylist?
Between windows authentication and sql server authentication, which one is trusted and which one is untrusted?
How do you serialize in c#?
What is whitespace in c#?
Explain About sn.exe
What is the .net datatype that allows the retrieval of data by a unique key?
Can a sealed class be used as a base class?
What is xaml file in c#?
what class is underneath the sortedlist class?
What is an Interface in C#?