Difference between abstract class and interface
Answer Posted / ashish gupta
1)Abstract class can have either declaration or definition
of any method,however an interface must declare a method
and it can not define it.
2)An interface makes some sort of contract to its
implementing classes to define all the declared methods
within those classes.
3)A class/subclass should Extend the abstract class while a
class/subclass should Implement the interface.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain is development of a mobile web application with asp.net is very easy? : Microsoft dot net mobile
What is difference between .net and visual studio?
What is cache coherency and how is it eliminated? : .NET Architecture
What does the term "green architecture" mean? : .NET Architecture
How to develop mobile applications using microsoft mobile internet toolkit (mmit) or .net mobile? : Microsoft dot net mobile
how to change row background color in gridview
What is the purpose of Treeview control?
what is inheritancy where u required ?
What is the procedure on hardware that converts the ascii value to binary? : .NET Architecture
Difference between type constructor and instance constructor?
What is the use of CLR in .NET?
hi, kindly send WWF(.net 3.5) pdf notes to my id. thanx in advance, chays
How cache coherency is eliminated? : Dot net architecture
What are public and private assemblies ?
Explain the purpose of cache? How is it used? : .NET Architecture