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...

Difference between abstract class and interface

Answer Posted / amit sinha

a) Interface force class to implement all methods and
function for implement while as Abstarct class does not
force class , you can override method and fuction of base
class .
b) Interface contains method and function without
implemention with signature only while as Abstract class
contains method , function with implemention and signature
c) By default , method ,function and members is public in
nature within interface , while as In Abstract class ,
memebers can be protected as well private etc..
d) Interface supports Multiple inheritance while as
Abstract class does not support Multiple Inheritance
e)Abstract classes are faster than interfaces
f)you can prevent not required method to override in
Abstract class , but not in Interface

Is This Answer Correct ?    38 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain atlasuiglitz library?

891


What is the difference between .net mobile pages and ordinary .net web page? : Microsoft dot net mobile

896


if there are two application 1 and 2 having a variable x in both app if client1 changes value of x in 1 app client 2 want reads the value of x from 2 app what resultant value will he get

2274


Explain the five stages in a dlx pipeline? : .NET Architecture

889


Explain the race around condition? : Dot net architecture

856


What is .net mobile input validation. Explain with an example? : Microsoft dot net mobile

908


What is ILDASM ?

1068


What is .net mobile forms? : Microsoft dot net mobile

876


What is the purpose of Accordian in jquery? Where it can be used?

2243


What is private constructor? And it's use?

1040


What are end points, contract, address and bindings?

886


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

959


Different types of authentication modes in .net framework ?

938


What does the term "green architecture" mean? : Dot net architecture

852


How can we integrate atlas with web services?

902