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
Define a managed code? : Dot net architecture
Explain domestic architecture artifacts? : .NET Architecture
What is boxing and unboxing? Does it occure automaatically or you need to write code to box and unbox?
What is .net mobile input validation. Explain with an example? : Microsoft dot net mobile
Can you explain update progress control?
Explain about httpruntime.cach.get(); method?
Explain .net mobile events? : Microsoft dot net mobile
What is the mesi? : Dot net architecture
Tell me .net mobile emulators? : Microsoft dot net mobile
Whats new features in Visual Studio 2012?
What other than biginteger has been introduced in system.numerics namespace?
Define domestic architecture artifacts? : Dot net architecture
Why the config file might not be writable
Explain cache memory? : Dot net architecture
readonly syntax ?