What is the difference between abstract class and
Interface? Give an example how will u write an abstract
class using .NET Framework
Answer Posted / ravi
1. you can inherit a abstract class but only one
but you can implement more than one interface.
2. you can't initiate a n instance of abstract class
3. there may be concrete method in abstract class but all
the method in interface is virtual only , no mrthod
definition can be given in interface.
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
What happens when you try to update data in a dataset in .net while the record is already deleted in sql server as backend?
How can we perform data binding in atlas?
Explain the difference between state server and sqlserver : Dot net architecture
Explain 'managed' mean in the .NET context
Explain the purpose of cache? How is it used? : Dot net architecture
how to change row background color in gridview
What happens to the winfx technologies?
What is the difference between machine config vs. Web config : Dot net architecture
What is .net mobile lists. Explain with an example? : Microsoft dot net mobile
What does the term "green architecture" mean? : .NET Architecture
How can I create a application?
where should I put this information then?
what is sessions and cookies take one example simple way to understand
Explain the five stages in a dlx pipeline? : .NET Architecture
What is private constructor? And it's use?