Java is related to C and C++ in the structure of programs composed with each language. All of them are object-oriented-programming languages (oop languages).
Java is meant primarily for web apps
C is meant primarily for programming servers
C++ is meant primarily for large applications bbb
Most of the c++ is same as Java. but the major difference is c++ supports multiple inheritance whereas java does not.
java only supports single level inheritance and multilevel inheritance there is a lot of difference between multiple and multilevel inheritance
Aside from sharing a similar syntax (based on C), Java and C++ have very little in common. Java is used solely for applications development while C++ is general purpose. C++ compiles to native machine code which requires no further translation (fast and efficient) while Java compiles to byte code which must be interpreted by a Java virtual machine on each execution (slow and inefficient). Java is extremely high-level with very little low-level functionality, whereas C++ has few limitations. Both languages employ object-oriented principals which do share some common ground, but the implementations differ enormously. Similarly with Java generics and C++ template metaprogramming.
if you turn the v in java to its side, its looks similar to C
No. Java takes some ideas from C++, so there are certain similarities, especially in the basic syntax. But it is a different language.
In C there are functions only, In Java methodsonly (static methods as well), in C++ both.
C is a procedure oriented language ,Where C++ & java are object oriented language.But java is platform independent.So generally C is called POP.C++ is called OOP.But java is OOP , which is platform independent.If java does not support primitive data type then it is called as pure object oriented language.
C, C++ and Java are cross-platform languages. NET is for Windows-only.
C++.
No. Java takes some ideas from C++, so there are certain similarities, especially in the basic syntax. But it is a different language.
Java doesn't have pointers. C++ has pointers.
java is an advanced object oriented programming language than c++
C++ and Java are identical except for...No pointers in JavaAll object names are referencesNo operator ->, only operator .No multiple inheritance in JavaNo template classes in JavaThe run-time and class libraries are vastly different
In C there are functions only, In Java methodsonly (static methods as well), in C++ both.
the difference is that c plus is better because you get big grades
Java is considerably easier than C++.
Java
No. You can learn Java first if you want. However, from a language perspective, C++ and Java are nearly identical1, and C is the predecessor of C++, so some people feel that the proper sequence is C, then C++, then Java. It is entirely up to you. ----------------------------------------------------------------------------- 1Nearly identical, that is, from a language perspective only. The environment and libraries are vastly different between C++ and Java.
C is a procedure oriented language ,Where C++ & java are object oriented language.But java is platform independent.So generally C is called POP.C++ is called OOP.But java is OOP , which is platform independent.If java does not support primitive data type then it is called as pure object oriented language.
C, C++ and Java are cross-platform languages. NET is for Windows-only.
C++.