Sankey Solutions interview question

Basic of OOPS, Java, C, C++.