Deloitte Interview Question

Why do we use Java when C++ is available?