Video Tutorial: How to implement Factory design pattern in Java
Factory - creational design pattern. Using factory we create an object without exposing the creation logic to the client and refer to newly created object using a common interface.
...
https://www.youtube.com/watch?v=ECy8wgTfBTw