answersLogoWhite

0


Best Answer

Java and C++ are similar because Java is based upon C++ insofar as they both have a very similar language and syntax. The similarity ends there, however. Java has a much simpler object model and is highly abstract, and therefore provides no low-level architecture routines. Code is compiled as byte code suitable for the Java virtual machine which, although highly-portable, adds an extra layer of abstraction that you don't get with C++, which compiles to native machine code with virtually unrestricted access to the low-level architecture and its features.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How Java and C plus plus are similar?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

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++.


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.

Related questions

Is it important to have c plus plus for computer engineering?

Yes, because C++ is a very popular language, and many systems are written in C, C++, or Java. (C is the predecessor of C++, and Java is similar to C++ in many ways.)


What are the features in java that makes it similar to C programming?

Java is not similar to C. Java is, however, similar to C++. Both C++ and Java are object orientated programming languages (OOPL's).


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

Java is considerably easier than C++.


Which is more popular c plus plus or java?

Java


Why java and c plus plus keep together?

If I understand your question, they are similar because one language came from the other.


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++


Should you learn C plus plus or Java and why?

It depends on what exactly you want to do. However, the languages are similar; there's no reason you can't learn both.


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.