answersLogoWhite

0

Advantages of c plus plus over java?

Updated: 8/18/2019
User Avatar

Wiki User

10y ago

Best Answer

The main advantage is that C++ programs compile to native machine code and therefore execute many times faster than equivalent Java programs, which compile to byte code suitable for interpretation by the Java virtual machine. C++ is also more efficient since it requires no interpretation (and therefore no interpreter), and can use memory just as efficiently as assembler. The main disadvantage is the code must be compiled separately for each platform. With Java, programs need only be compiled once for any platform.

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Advantages of c plus plus over java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Advantages of C over C plus plus and java?

C can be faster than C++ programs, and definitely faster than Java, since Java is primarily interpreted. C is also somewhat less rigid in definitions as well, not as tightly structured as either C++ or Java can be.


Which is easier 'C plus plus' or 'Java'?

Java is considerably easier than C++.


Which is more popular c plus plus or java?

Java


What is the difference between c plus plus and java programming?

Java doesn't have pointers. C++ has pointers.


What is feature that supported in c c plus plus and java but not in net?

C, C++ and Java are cross-platform languages. NET is for Windows-only.


Which one has more jobs java or c plus plus?

C++.


Should you learn c plus plus before you start learning java?

No!!!! You do not need to learn c++ for learning java!


Difference between java and C plus plus?

java is an advanced object oriented programming language than c++


Is it necessary to know c and c plus plus to learn java?

Of course not.


Difference between procedure and function in C or C plus plus or Java language?

In C there are functions only, In Java methodsonly (static methods as well), in C++ both.


Why is java's portability better than c plus plus?

As we know that java is a plateform independent language and the main advantage of java is that it can support to any operating system and can be executed to any machines without any modifications.Due to the use of class in java it has become more easier to understand the program compared to c plus plus.Hence,java is portable than c plus plus


How java use extern key word which is used in C plus plus?

No extern keyword in Java.