Difference between abstract class and interface
Answer Posted / brgkkc
1) Abstract class defines few or none of the methods, but
interface defines all the methods..
2) Abstract classes should have subclasses else that will
be useless..
Interfaces must have implementations by other classes else
that will be useless
3)only an interface can extend another interface, but any
class can extend an abstract class..
4)All variable in interfaces are final by default
| Is This Answer Correct ? | 444 Yes | 531 No |
Post New Answer View All Answers
What is the difference between .net mobile pages and ordinary .net web page? : Microsoft dot net mobile
how to change the title of my window?
When do I need to use gc.keepalive?
What re interop services?
What does the term "green architecture" mean? : .NET Architecture
what is tracing? Where it used?
What does the term "green architecture" mean? : Dot net architecture
How can I write my own .NET host?
What is Video Streaming in .net??
Explain about continuable exceptions?
how we can fire event in databound column in datagrid without using button?
What is Opf3
Difference between throw exception and rethrowing ?
deference between display and visibility property of CSS
5. Wcf- Session Managment