Java Cross-platform principle

Source: Internet
Author: User

Today in the interview encountered a such a topic so come up and say, although very basic, but really want to speak clearly and point to really test a person's Java foundation and expression ability. So share:


1. (Interview questions) Why does Java run across platforms?

Since the code compiled by the Java program is not code that can be run directly by the hardware system, it is an "intermediate code"-bytecode. A different Java Virtual machine (JVM) is then installed on different hardware platforms, which are then "translated" by the JVM into code that the corresponding hardware platform can execute. So for Java programmers, there is no need to consider what the hardware platform is. So Java can be cross-platform.


Foundation is very important, so do not think that these details you know, it is a chip regardless, that day if your boss suddenly asked you why Java cross-platform, if you like me a short-circuit of the brain, you will know how embarrassing, and there is no need to make a fool of Yo, come on! Foundation Casting building, solid foundation is your strongest backing, let your career path to go farther and more brilliant.


This article is from the "Love Coffee" blog, please be sure to keep this source http://4837471.blog.51cto.com/4827471/1585068

Java Cross-platform principle

Related Article

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.