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
Why do we use generics in c#?
In which situation(s), the use of "Delegate" is a good idea?
What is use of abstract class in c#?
What are methods in C#?
What is different about switch statements in c#?
What do you mean by casting a data type?
What is dao in c#?
What is an icollection in c#?
What is difference between private and protected?
Why References are stored on heap and variables on stack?
What's the difference between WindowsDefaultLocation and WindowsDefaultBounds?
What are value types and reference types?
What is selector c#?
Explain About remoting and web services. Difference between them
Why do we need indexers in c#?