when use Abstract class ,Normal class and Interfacess?

Posted by Mandlaa under Interview Questions on 5/20/2015 | Points: 10 | Views : 394 | Status : [Member] | Replies : 1
I am confusing at interview these questions,

Related to Abstract class i am telling Some common functionality using Abstract class,

Can you tell me the above three details when i can use?




Responses

Posted by: Sheonarayan on: 5/21/2015 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
There is a lot of posts available on this website that describes the difference between abstract class, interface.

http://www.dotnetfunda.com/interviews/show/4694/what-is-the-difference-between-abstract-class-and-interface
http://www.dotnetfunda.com/forums/show/9590/difference-between-abstract-class-interface-with-best-example

In short Abstract class is used as a base class that can contain overridable methods. Interface only contains definitions.

Read more about it in the above links.

Thanks



Regards,
Sheo Narayan
http://www.dotnetfunda.com

Mandlaa, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response