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 do you mean by abstract class in c#?
Is datetime immutable c#?
how to prevent a class from being inherited in c#.net?
Are structs value types or reference types?
What is stringwriter c#?
Ho we can see assembly information?
Explain the advantage of using system.text.stringbuilder over system.string?
Why to use “using” in c#?
What is data quality assurance?
What is default value of bool in c#?
What is signature c#?
Why do we use methods in c#?
Are private members inherited in c#?
What is the main purpose of delegates in c#?
Can a sealed class be used as a base class?