Contrast the use of an abstract base class against an interface?

Answer Posted / rajeev kumar singh

An abstract class can have abstract as well as non abstract
methods whereas the interface can have only the abstract
methods.
An Abstract inherit a class, an abstract class and implement
an interface. But interface can only implement another
interface.

Is This Answer Correct ?    5 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What asp.net control can embed xaml into asp.net pages?

536


What is a page life cycle?

567


Explain advantages of caching?

528


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

595


In a webservice, need to display 10 rows from a table. Which is the best choice among datareader or dataset?

649






Explain the main function of url routing system in asp.net mvc? : asp.net mvc

490


How do you hide the columns?

590


How can you make sure that web api returns json data only?

514


Describe how passport authentication works.

566


What are the memory-mapped files?

518


Define satellite assemblies.

584


What is the viewstate in asp.net?

569


What is slidemaster?

464


What does it mean your session has timed out?

523


Which is faster viewdata or viewbag?

540