Why do most of the competitive programmers prefer C++ over Java when Java is more useful to learn as it is used in app development/web development? Why do competitive programmers prefer to use C++ instead of Java in the programming contests?