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 difference between abstract class and
Interface? Give an example how will u write an abstract
class using .NET Framework

Answers were Sorted based on User's Feedback



What is the difference between abstract class and Interface? Give an example how will u write an a..

Answer / susant

difference between an interface and abstract class?
1.In Interface all methods must be abstract,
2.In the abstract class some methods can be concrete.
3.In the interface no accessibility modifiers are allowed,
which is ok in abstract classes.
4.In interface all the members are by-default public

Is This Answer Correct ?    9 Yes 0 No

What is the difference between abstract class and Interface? Give an example how will u write an a..

Answer / brahmareddy

1.In Interface all methods must be abstract,
2.In the abstract class some methods can be concrete

Is This Answer Correct ?    3 Yes 0 No

What is the difference between abstract class and Interface? Give an example how will u write an a..

Answer / 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

What is the difference between abstract class and Interface? Give an example how will u write an a..

Answer / santosh

when we declare class with abstract then the class
cannot cannot be extended.

Is This Answer Correct ?    2 Yes 10 No

Post New Answer

More Dot Net AllOther Interview Questions

how u maintain data while navigating one page to another?

2 Answers  


Explain what does the term "green architecture" mean? : Dot net architecture

0 Answers  


how to make and display a form without title bar?

1 Answers   Six Sigma,


how to make and display a form without title bar?

0 Answers   Six Sigma,


How many types of languages does .net support? name at least 10-15?

12 Answers   Interac, Six Sigma, TechUnity,


What does this do? Gacutil /l | find /i "corillian"

0 Answers  


what is the difference between running an application with and without debugger?

0 Answers   Six Sigma,


how to display a message box in the Application?

2 Answers   Six Sigma,


how to create applications by using Visual Studio 2012?

0 Answers   TryTechnicals Pvt Ltd,


i want to know that now a days which software course has demand and more opportunities please give me reply to my mail id

3 Answers   APC,


Explain write back and write through caches? : .NET Architecture

0 Answers  


What is an asssembly qualified name? Is it a filename? How is it different?

0 Answers  


Categories