why cpp is better than java?
Performance: Java is a favorite among developers, but because the code must first be interpreted during run-time, it's also slower. C++ is compiled to binaries, so it runs immediately and therefore faster than Java programs. ... Java does not support pointers, so you are only able to pass values using value references.