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 is dataset c#?
Define the term immutable ?
What is generic collection in c#?
What are scriptable objects?
Can a struct inherit from an interface in c#?
What is asax file in c#?
Define an assembly in .net?
What is boxing? Explain its functionality?
Is the following code legal?
What is instantiating a class in c#?
Is a structure a class?
What is an arraylist in c#?
What is a partial method?
What is the purpose of abstract class in c#?
Which controls do not have events?