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


Please Help Members By Posting Answers For Below Questions

How do we do authentications using atlas?

717


What is .net mobile images control. : Microsoft dot net mobile

682


What is the purpose of cache? How is it used? : Dot net architecture

683


Explain is development of a mobile web application with asp.net is very easy? : Microsoft dot net mobile

711


Why am I getting an invalidoperationexception when I serialize an arraylist?

667


Define an interrupt? : Dot net architecture

727


Can you explain update progress control?

700


What is .net transaction?

679


Explain difference between machine config vs. Web config? : .NET Architecture

724


What is the application frame host?

725


What is gui programming? : .NET Architecture

699


how can we achieve language interoperability through CLS? How MSIL works?

832


what is the difference between master page and content page?

2333


So what exactly is the configuration file for then?

726


What is a service class?

751