Fiserv interview question

OOPS Concepts JAVA and CPP