what is the difference between interface and abstraction?
Answer Posted / sajid
interface:
in interface,all methods must b abstract,by default all
members are PUBLIC,cant b implimented infact derived class
impliments its methods
interface can use multiple interface
abstract:
it is just like interface,not imolimented by itself,only
derived class can impliment abstract class or abstract
methods,abstract methods can b private unlike interface,cant
allow multiple inheritance
| Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
What is stringwriter c#?
What is the use of ienumerable in c#?
write a C# Program add two matrix ?
What is entity framework c#?
What is delegation in oops?
what are the differences between a class and structure
How many types of constructors are available in c#?
How does bubble sort work?
How big is an int in c#?
Explain manifest & metadata in c#.
What benefit do you get from using a primary interop assembly (pia)?
How is the syntax written to inherit from a class in C#?Give an example ?
Is array a collection c#?
Explain the difference between Metadata and Manifest
Is there throws keyword in c#?