Difference between abstract class and interface
Answer Posted / shreeram sahu
1.abstract class contain abstract and non abstract methods
but interface contain only abstract methods.
2.abstract method can be declared in public or protected
section. but all components of interface by default are
public.
3.a class can inherit only one abstract class but a class
can implement any no of interfaces.
4.abstract class components are directly reffered in
subclass.butinterface components must be prefixed with the
name of the interface.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is a clickonce application?
What are .net mobile controls features? : Microsoft dot net mobile
readonly syntax ?
What is .net mobile input validation. Explain with an example? : Microsoft dot net mobile
Define cache coherency? : Dot net architecture
How does an appdomain get created?
What is Video Streaming in .net??
What is the difference between an application and a program?
any one can explain about projectarchitecture and project approach briefly
Explain the components required to develop mobile applications with .net mobile? : Microsoft dot net mobile
Define cache? : Dot net architecture
What is Object Caching in Visual Studio 2010?
What is application frame host?
What is the mesi? : .NET Architecture
Explain hard disk and what is its purpose? : .NET Architecture