Personal Finance interview question

OOP basics, when we need to use abstract class or interface