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
What's the difference between a method and a procedure?
Is Multiple-inheritance supported by c#?
Is c# static or dynamic?
What is xslt in c#?
What is instantiating a class in c#?
What is windows application in c#?
What is console readkey in vb net?
Explain types of comment in c# with examples
How many bytes is an int?
What is tryparse c#?
What is difference between sleep () and wait ()?
Explain namespaces in c#.
What is the difference between returning iqueryable vs ienumerable?
What is data adapter in c#?
What is delegate in c# interview questions?