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 are library functions?
Explain about appdomains?
Explain .net mobile automatic paging? : Microsoft dot net mobile
How resource files are used in .net?
What is the mesi? : .NET Architecture
Explain about developer benefit from memory management?
Explain the difference between state server and sqlserver : Dot net architecture
What is an interrupt? : Dot net architecture
What is the use of web.config?
what is sessions and cookies take one example simple way to understand
I want to create a project like google maps how can we do that with atlas?
How to implement the display in the class printdoc (how to resolve the naming conflict) a: no naming conflicts
Why am I getting an invalidoperationexception when I serialize an arraylist?
What are the different pipelining hazards? : Dot net architecture
Explain about the base class library provided by microsoft.net?