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
Explain how does .net mobile work? : Microsoft dot net mobile
Explain the components required to develop mobile applications with .net mobile? : Microsoft dot net mobile
what is diffrent beatween localprinter and networkprinter
What is the numeric attribute of the textbox control in .net mobile? : Microsoft dot net mobile
Define cache coherency and how is it eliminated? : Dot net architecture
What is MS chart control in visual studio?
How does an appdomain get created?
How to improve the cache performance? : .NET Architecture
what are the fundamental and common properties of .net controls?
What is boxing and unboxing? Does it occure automaatically or you need to write code to box and unbox?
Define an interrupt? : Dot net architecture
How can we perform data binding in atlas?
Explain Intermediate Language?
Describe the advantages of writing a managed code application instead of unmanaged one. What is involved in certain piece of code being managed?
what is polymorphism and advantage ?