Question: what are the differences between c++ and java?
Answer: C++ is compiled and run using the compiler which converts source code into machine code so, C++ is platform dependent. Java uses compiler and interpreter both. Java source code is converted into bytecode at compilation time. ... Java is interpreted that is why it is platform independent.