Shall we use abstract classes or Interfaces in Policy / Strategy Design Pattern ?
Javasearch.buggybread.com

Search Interview Questions


 3372 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Java - Interview Questions and Answers

 Q1. Shall we use abstract classes or Interfaces in Policy / Strategy Design Pattern ?
Anonymous
Ans. Strategy deals only with decision making at runtime so Interfaces should be used.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     java   design pattern   strategy design patterm      expert


Related Questions

 What is Dependency Injection or IOC ( Inversion of Control ) ?
  What are the Wrapper classes available for primitive types ?
  Difference between Factory and Abstract Factory Design Pattern ?
  What is MVC ?
  What Design pattern Wrapper Classes implement ?
 What are the disadvantages of Design Patterns ?
  Difference between Factory and Builder Design Pattern ?
  Difference between Proxy and Adapter ?
  Difference between Adapter and Facade ?
  Difference between Builder and Composite ?



Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: