Difference between abstract class and interface
Answer Posted / mahendra pratap singh
An Abstract Class can contain default Implementation, where
as an Interface should not contain any implementation at
all. An Interface should contain only definitions but no
implementation. where as an abstract class can contain
abstract and non-abstract methods. When a class inherits
from an abstract, the derived class must implement all the
abstract methods declared in the base class. an abstract
class can inherit from another non-abstract class.
| Is This Answer Correct ? | 42 Yes | 13 No |
Post New Answer View All Answers
State the different levels of exceptional safety?
8. Oop-Why and were we use Interfacse and Abstract class.
what are constructors and destructors?
Can you explain control extenders?
deference between display and visibility property of CSS
Explain .net mobile automatic paging? : Microsoft dot net mobile
Can you Explain
Explain the number or character entered through keyboard gets converted to equivalent ascii code & it get stored on ram in the binary form. What is the exact procedure. : Dot net architecture
Explain the difference between l1 and l2 cache? : .NET Architecture
Explain the number or character entered through keyboard gets converted to equivalent ascii code & it get stored on ram in the binary form.
Explain hard disk? : Dot net architecture
What happens when you try to update data in a dataset in .net while the record is already deleted in sql server as backend?
What is .net mobile automatic paging? : Microsoft dot net mobile
Explain domestic architecture artifacts? : Dot net architecture
How to improve the cache performance? : .NET Architecture