TransUnion interview question

About OOPS and core java