Berenberg Bank interview question

Basic core java questions, scenarios