IDFC FIRST Bank interview question

Core Java question, oops LLD etc. oops is the main focus.