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
Can I create my own context attributes?
Explain the difference between l1 and l2 cache? : .NET Architecture
What is textbox control of .net mobile? : Microsoft dot net mobile
Can I create my own permission set?
Explain cache? : Dot net architecture
Define an interrupt? : Dot net architecture
Explain about continuable exceptions?
Explain how to develop mobile applications using microsoft mobile internet toolkit (mmit) or .net mobile? : Microsoft dot net mobile
What other than biginteger has been introduced in system.numerics namespace?
i wish to write mcts(microsoft certified technology specialist) exam. can anyone give the model question or format and preparation method?
What is the use of CLR in .NET?
What is the purpose of cache? : Dot net architecture
What is the mesi? : Dot net architecture
What are the major differences between services and web services?
What is password attribute of the textbox control of .net mobile? : Microsoft dot net mobile