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 the c# equivalent of c++ catch (...), Which was a catch-all statement for any possible exception?
What is the solution if you need to manipulate sets of items?
What are primitive types in c#?
What is difference between class and interface in c#?
Is visual c# free?
What is assembly c#?
Where is the main method in c#?
Explain About stateless and state full web service
What is the difference between new and override in c#?
How to override a function in c#?
What is difference between int and int in c#?
What is the diff between the System.Array.CopyTo() and System.Array.Clone()?
I wish to create a windows application to perform a similar function as that of the "Search" which is provided to look for related files and folders in the System.. What steps must i follow??
the c# keyword .int. Maps to which .net type?
What is var c#?