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

code for "For every 5days system has to create 1text file with the corresponding date and it has to store in c-drive" by using web applications

1799


Explain the concept of View Model in MVC?

972


Describe Segmentation With Paging?

1015


How should I destroy my objects in asp.net?

1026


COM+ Used ________________ Isolation Level

1917


What is gridview in asp.net?

929


Explain why it is useful to use mvc instead of webforms? : asp.net mvc

991


Where the assembly is stored in asp.net?

964


How to integrate angular 8 with asp.net mvc 5? : Asp.Net MVC

836


What are the new navigation controls in asp.net 2.0?

964


Explain what are delegates?

1049


Name some asp objects?

966


What are the major built-in objects in ASP.NET?

1060


Explain what is an abstract class?

971


What are the modes of updation in an updatepanel? What are triggers of an updatepanel?

926