Infosys Interview Question

Why c++ language not java?