The difference between C + + and Java

Source: Internet
Author: User

1.c++ introduces an object-oriented concept, although it is not a purely object-oriented language.

2. Later Java came out, equally shocked the world, ah, purely object-oriented, and not like C + + as well as retaining a bit of process-oriented thinking. Because of its cross-platform reasons, Java's operating mechanism and other languages, the introduction of the concept of virtual machine, it is not a compiled language and is not an interpreted language, but in the middle, he compiled the source code into the so-called bytecode, the virtual machine is responsible for interpreting and then communicate and execute with the local operating system, It can be said that his compilation is for virtual machines, rather than a specific machine, which is clearly different from C and other compiled languages. Java, of course, cancels the concept of pointers inside C + +, reducing the burden on programmers.

The difference between C + + and Java

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.