Java First chapter

Source: Internet
Author: User

Personal feeling, programming is to implement the function of the software in code form, in the course of learning, the teacher emphasized many times to understand the programming idea, I feel that the programming thought summarizes down is, with the most concise code to achieve the desired function.

Java object-oriented programming.

Can be used on all platforms. Write one, run everywhere. But the development kit (JDK) needs to be installed.

Using Java steps

1. Installing the Java Development environment

2. Configure environment variables (right-to-bottom on my computer--top-left top of the advanced system settings and lower-right "environment variables (N)" and the path of the JDK to environment variables)

Save the written code in. java format

Enter the Javac file name in cmd. Java (compile Java file as class file)

Java file name (the. class filename executes class files)

Additional

CMD, CD. Return to the previous layer

Which layer does the CD path reach

DIR Displays all file name names for this layer

Help displays all cmd directives

A Java file written in this way, with the same class name as the file name.

Java First chapter

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.