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 literal control
What is int32 maxvalue?
How can you force derived classes to provide new method implementations for virtual methods?
Describe the process of “exception handling implementation” in c#?
What is the difference between User controls and Custom Controls?
What is autopostback in c#?
What are the basic string operations? Explain.
Explain what are three test cases you should go through in unit testing?
What is static noise?
What are c# collections?
How can I develop an application that automatically updates itself from the web?
Is overriding of a function possible in the same class?
Explain the difference between pass by value and pass by reference.
How do I start a program in c#?
What is the use of 'using' statement in c#?