2 ms·
C++ supports more complex inheritance models. Operator overloading The const keyword C++ can guarantee stack allocations C++ has faster boot times C++ temp
by rienbdj 8y ago
C++ supports more complex inheritance models.
Operator overloading
The const keyword
C++ can guarantee stack allocations
C++ has faster boot times
C++ templates are more powerful than Java generics
C++ latency is better, which is important for some applications such as audio
C++ can manage external resources better using RAII
Not saying C++ is better in all cases, but it does bring things to the table that Java does not.