Java compiles to byte code suitable for interpretation by the Java virtual machine, whereas C and C++ both compile to native machine code. Thus C and C++ programs perform better than equivalent Java programs. However, Java programs can run on any machine with a suitable Java virtual machine implementation, which is pretty much everything these days. C and C++ programs must be compiled separately upon each supported platform, provided the source code is either generic or includes compiler directives to filter the platform-specific code. Java programs need only be compiled once, thus cross-platform development is greatly simplified, at the cost of performance.
C and Java cannot really be compared since C does not support object-oriented programming concepts. C++ is object-oriented but, unlike Java, it is not 100% object-oriented as it supports the concept of primitive data types that it inherited from C. Java is more closely related to C#, which is 100% object oriented.
Java and .Net can create good desktop applications both. Java provides manual configuration of all features.
C, C++ and Java are cross-platform languages. NET is for Windows-only.
C++.
In C there are functions only, In Java methodsonly (static methods as well), in C++ both.
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
Java and .Net can create good desktop applications both. Java provides manual configuration of all features.
Java is considerably easier than C++.
Java
Java doesn't have pointers. C++ has pointers.
C, C++ and Java are cross-platform languages. NET is for Windows-only.
Java is not similar to C. Java is, however, similar to C++. Both C++ and Java are object orientated programming languages (OOPL's).
C++.
java is an advanced object oriented programming language than c++
No!!!! You do not need to learn c++ for learning java!
Of course not.
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.
In C there are functions only, In Java methodsonly (static methods as well), in C++ both.