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

Which among the following two is best and why? Abstract
Class and Interface. What is the major difference in between
those two except the discrete methods and methods with
function definition.

Answer Posted / anitha

a)for Future, we can provide extra services in Abstract
Class ,these futures can able to access all of its
Clients. And also it supports reusability.
suppose the implementer need not provide implementation
for all the methods.

Where as in Interface we don’t have this future(reusability
and extra servicess).
each implementer need to provide
implementation for all the methods and
also we cont provide extra services in
future.The interface should be constant.


b)Interface can support multiple inheritance where as
abstract class does not.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write the .net syntax for 'for loop'?

1035


What is connection pooling and how do you make your application use it?

1048


What is new in .net core?

934


What’s different between process and application in .net?

1084


How will you do redo and undo in textbox control?

1068


What is Ajax? How it is related to your project?

1053


What is the difference between override and overload in a method?

1209


What are the similarities and difference between class and structure in .net?

1023


Is atl redundant in the .net world?

1000


Tell us the difference between managed and unmanaged code?

1032


Explain About GDI object ?

1065


What is static constructor, when it will be fired?

1062


Do you know what is the difference between an abstract class and an interface?

1024


Explain .NET architecture?

1138


Sql Queries: A Table will be given Omiting Duplicate rows and adding a new column

2389