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
How do you declare a variable in c#?
Explain the functionalities of satellite assembly?
What is difference between event and delegate in c#?
What basic steps are needed to display a simple report in crystal?
Can interface have virtual methods in c#?
Is ram a heap?
Can a struct inherit from an interface in c#?
How can i Spawn a Thread
What is extension method in c# and how to use them?
Explain the 3 types of properties in c# with an example?
What is type system in c#?
What is immutable in C#?
How to rotate an Image in C#?
Can you prevent a class from being instantiated?
What are the steps for creating clr trigger