Home > Back-end >  To seek the answers to a sudden question.
To seek the answers to a sudden question.

Time:10-13

C + + is a C language upgrade? They and the JAVA language, what are the main different point??????????????? .

CodePudding user response:

According to the C + + master inventor banana, C + + is an independent language, only compatible with C,
C and C + + is a typical 3 GLS, and Java has many of the hallmarks of a 4 gl, strictly speaking, of course, Java is not a 4 gl,

CodePudding user response:

A completely different language, just some similar,

CodePudding user response:

My understanding is that
Java than in c + + programming way less choice, therefore, we say: "Java than more pure object-oriented c + +"
The c + + than Java more hybrid, so we said: "is not a pure object-oriented language c + +"

This is not to say that in object-oriented programming in c + + than Java, but says the way you can also use the object-oriented c + + programming

Compared to the c + + and Java, c + + code is the advantage of good secrecy, the advantage of Java is similar to write once run anywhere across platforms

CodePudding user response:

In learning Java than the c + + more simple, because the Java abandoned c + + features, such as improved the string to disable a pointer, improved multiple inheritance, abandoned the operator overloading, introducing a new memory management mechanism, etc., makes the Java in many ways more pure than c + +, and easier to learn

CodePudding user response:

Java code written approximation and uniqueness of, be helpful for the understanding of the code and spread, is advantageous to the development of cooperation, and c + + is too free, exactly the same thing, different people and even the same person at different times and even the location of the code are completely different in wording,
  • Related