Can c++ replace java?

i am learning c++ and someone suggested that java is better than c++ so u should learn java after c++ would it make me confused with syntax and func of both ?? what is the scope............
should i learn it ??
14 answers 14