An abstract class is inherited, an Interface also
inherited(multiple inheritance), How it differences.

Answer Posted / raman sharma

Abstract class is just like a normal class but we cannot create its object. Abstract class has abstract methods as well as the concrete methods.

Interface has the only abstract properties and methods means they are not defined in the interface but are implemented in the child classes

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are handlers in c#?

501


What is difference between for and foreach in c#?

473


Define multicast delegate in c#?

516


Explain how to use an extender provider in the project.

492


What is console readkey ()?

529






What is a partial method?

499


What method is used to sort the elements of the array in descending order?

570


What is the difference between finalize() and dispose() methods?

535


What is xml c#?

485


Can var be null c#?

483


Enlist some of the properties of a thread class?

513


These questions were asked me in a technical interview: •If we deploy an application on multiple server (like database server, web server) then, each request should be redirected to proper server, then how you will handle it in your code? •How security pinholes will be handled in an application? •What things should be considered while writing a web application? •How will you do load/performance testing of web application? Which framework you will use for it? •How will you implement a cache for results which require a DB access? Please let me know how to write an web application considering all these points. I am not so much aware of architechural design of web application. Your guidelines will be helpful.

2512


Why do we need private constructor in c#?

470


Can enum be null c#?

525


What are the different types of constructors?

510