Requiremnts get Change in Future

Posted by Self-Innovator under Interview Questions on 9/6/2014 | Points: 10 | Views : 1984 | Status : [Member] | Replies : 1
Which should i need to use ...My requirement gets change in Future

Abstract Class or Interface Class...Which will you decide

This is an interview question asked by ne of the interviewee...

Join Hands Change lives
Thanks & Regards
Straight Edge Society


Posted by: Naveenhcl on: 9/8/2014 [Member] Starter | Points: 25


That's totally depend upon the Existing requirement and future requirement. Both are having common features as well as unique features too based on requirement we should decide which one is suitable.

Using Interfaces:

1) Multiple inheritance is possible.

Using Abstract:

1) It's having both incomplete and complete information.

So, If you want to decide it then you should know the requirement first.

Refer below link for more details.

Self-Innovator, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response