Java Basics: Java environment, the first Java program, an array of Java

Source: Internet
Author: User

Java environment:

1. What are bytecode and virtual machines?

2. Setting of environment variables

3. Some common Java commands

4. How does the computer run the Java program?

5. Java Garbage collector

6. Basic data types and conversions for Java

Example: The first Java program

An array of Java:

1. One-dimensional arrays

  • Declaration of an array
  • Array allocation space and initialization
  • The length of the array
  • Two copies between arrays: System.arraycopy (array1,start,array2,start,length)

2. Two-bit array

  • Declaration and initialization of two-dimensional arrays

Java Basics: Java environment, the first Java program, an array of Java

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.