When we use abstract class and interface ?

Showing Answers 1 - 1 of 1 Answers

Nitesh

  • May 6th, 2006
 

It's totally dependent on condition. When there is a situation that we have to provide the partial implementation of some or all the method of a Object then One should go towards Abstract class.

When all the method are abstract then one can choose the Interface.

When we are giving certain specification & we want other to implement in their own manner then Interface is better choice.

Thanks,

Nitesh

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions