Domanda di colloquio di Tata Consultancy Services

If both Java and C++ are Object oriented then why choose Java and not C++?