+ 3

Whats the difference between java and c++

6th Nov 2017, 7:54 PM
Webster
Webster - avatar
3 Answers
6th Nov 2017, 8:04 PM
AgentSmith
+ 2
Java is a interpreter language. Java works with it's JVM(java virtual machine). When you write your code in java the compiler of java compile your code to a byte code then you can run your code with byte code on the linux/mac/windows/ and where ever that jre has installed on it. Search WORA(Write Once Run Every where). But C++ is a compiler language that compile your code directly to a code that understandable just for your machine.
8th Jan 2018, 8:40 PM
Amin Soheyli
Amin Soheyli - avatar
+ 1
There is some difference in syntax, and java uses a virtual machine unlike cpp.
6th Nov 2017, 8:02 PM
Š”тŠ°Š½ŠøсŠ»Š°Š² Š‘Š°Ń…Š¼ŠµŃ‚ŃŒŠµŠ²