C++ and Java are syntactically very similar. Java's designers intended this to make it easy for C++ developers to learn Java. Apart from this area of similarity, Java and C++ differ in a variety of ways, largely because of their different design goals. Security, portability, and rapid development were of paramount importance in the design of Java, whereas C++ is more concerned with performance and backward compatibility with C. Java is compiled to virtual machine byte-code and requires a virtual machine to run. C++ is compiled to native machine code. This usually makes C++ faster, but it gives Java greater potential for portability and security.
- Posts : 131
Join date : 2011-08-16
Permissions in this forum:You cannot reply to topics in this forum