Java Second week learning experience

Source: Internet
Author: User

Time in a hurry, the second week of study on the past, for the Java program is not familiar with the writing

The Java Virtual machine JVM is the biggest feature of the Java language, and the JVM is a virtual computing system that can run Java bytecode. It has an interpreter component that enables the communication between Java bytecode and computer operating systems. It also includes a set of registers, a stack, a garbage-collected heap, and a storage method domain. The JVM masks information related to the operating system platform so that Java programs can run without modification on multiple platforms simply by generating bytecode that runs on a Java virtual machine. This is also the biggest feature of Java cross-platform, that is, a write, run everywhere. When the JVM executes the bytecode, it actually eventually interprets the bytecode as a machine instruction execution on a specific platform. The instruction set for compiling the virtual machine is very similar to the instruction set of the compiled microprocessor.

The basic components of a Java program are classes, which can include properties and methods in the class body. Each application must contain a main () method, and the class containing the main () method is called the main class.

Java Second week learning experience

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.