I prefer Java; it has been greatly simplified, and made safer, as compared to C++. However: .
1. In any situation where there already is a large amount of source code in C o
…r C++, it would be a significant investment to change to another language, even Java, despite its superficial similarities. So, in such a case, compatibility with existing code would be an advantage. Of course, if you have done lots of programming in Java, it would be the other way round; and if you are starting a new programming project, this argument is irrelevant. .
2. Code written in C or C++ would be faster and the compiled version would be smaller. This can be critical in some situations. . (MORE)