Loading…

What is the differences between C++ and Java? Explain

  C++ Java
1. Follows WOCA approach (Write once, compile anywhere). Follows WORA approach (Write once, run anywhere).
2. Runs as code on native machine. Runs on virtual machines.
3. Multiple binary compatibility standards are included. Has single binary compatibility standard.
4. All types of Pointers and pass-by-value are supported. Primitive and reference types are only passed by value.

Suggest An Answer

No suggestions avaliable!

Latest post from Java interview questions

Ask Question