Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the differances between a abstract calss and
interface

Answer Posted / alb.shah

ABTRACT CLASS:
-------------
• It can not be instantiated
• It allow us to specify all access modifier except
Private
• A class inheriting this must implement all of its
abstract method
• A class can inherit only one abstract class at a
time.
• Abstract class can add more functionality with out
destroying child classes that were using old version.
• We can declare the following
1. Fields
2. Constructors
3. Static Constructors
4. Static Functions
5. Concrete Functions

INTERFACE :
---------
• It can not be instantiated
• It allows only public Access modifier
• A class implementing interface must provide body
for its entire member.
• A class can implement more than one interface at a
time.
• Adding of additional functionality will have an
effect on its child class due to the necessary
implementation of interface methods.
• We can not declare the following
1. Fields
2. Constructors
3. Static Constructors
4. Static Functions
5. Concrete Functions

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you deploy your asp.net application?

1055


How many types of Cookies are available in ASP.NET?

1078


How to display Alert in ASP.NET

1178


What are different types of authentication techniques that are used in connection strings to connect .net applications with microsoft sql server?

1009


How would you turn off cookies on a page of a website?

930


How to disable disable browser's Back button in asp.net (JavaScript)?

1141


Explain the updatepanel?

1022


Disable Mouse right click on web page in asp.net?

1051


Explain method to handle error using HttpError in Web API?

1060


What is difference between cookies and cache?

1049


Can I read the hard disk serial # of the client computer using asp.net?

1096


What is strong-typing versus weak-typing?

1125


What is rich control in asp.net?

1024


How Session use Cookies in State Management?

1071


How can we inherit a static member?

1073