The difference between C++ and java.
When I studied C++ ,the multi-paradigm of it's functions , like the compound data types that include pointers and dynamic memory and character sequences and other data types ,these are more complex than the instructions of the object oriented progranming languages,such as java & C#.So,before I study C plus and plus,more computer's knowledge must be used.Is Operating Principle very imporant to me???
Discussing and improving C++,join me:408767694 or 74708391.
答案:In the evolution of Java, B gave birth to C. C evolved into C++, and C++ transmuted into Java. Java is the language of the Internet. It was conceived by James Gosling, Patrick Naughton, and Mike Sheridan at Sun Microsystems, Inc. in 1990 and took five years to develop. Java can be used to create two types of programs: applications and applets. The output of a Java compiler is not executable code. Rather it is bytecode. Java run-time system is an interpreter for bytecode. It is simply a highly efficient means of encoding a program for interpretation. It is much easier to allow Java programs to run in a wide variety of environments. Once the run-time package exists for a given system, the bytecode version of any Java program can run on it. Therefore, using bytecode to represent programs is the easiest way to create truly portable programs.There are two su易做图ce similarities between Java and C++. First, Java uses a syntax similar to C++, such as the general forms of the for, while, and do loops. Second, Java supports object-oriented programming, same way as C++. : There are also significant differences from C++, which fundamentally makes Java distinct from C++. Perhaps the single biggest difference between Java and C++ is that Java does not support pointers. Pointers are inherently insecure and troublesome. Since pointers do not exist in Java, neither does the -> operator. Some other C++ features are not found in Java.Java does not include structures or unions because the class encompasses these other forms. It is redundant to include them.Java does not support operator overloading.Java does not include a preprocessor or support the preprocessor directives. Java does not perform any automatic type conversions that result in a loss of precision. ...and it's copy from the web: http://www.csupomona.edu/~dlbell/cppexplanationsfa99/23.htmlmy javaeye.com blogTitle:The Positive Legacy of C++ and Java http://greatwqs.javaeye.com/admin/blogs/361805I am a guest come to learn
Father and his child.However,someting is going wrong with his child.He is no longer a member of the C program family.
上一个:如何用C++编译这个程序?
下一个:寻求C++语言教程 详细点的