20165318 2017-2018-2 "Java programming" the first week of study summary

Source: Internet
Author: User

20165301 2016-2017-2 "Java Programming" X-week study summary

Summarizing the contents of textbook learning 1.1 the status of Java
    • Java is particularly suitable for the development of Internet applications and dominates the network.
    • Java is object-oriented programming.
1.2 Features of Java
    • Platform-Independent.
    • Java can provide a Java runtime environment on top of the platform.
    • 1.3 Installing the JDK
    • Click on this link to access the JDK, download and install.
    • Note that the JDK installation path cannot be the same as the installation path of the JRE. Because the JDK itself already contains the JRE.
    • System environment variable Settings
    • Right click on My Computer -- Properties -- Advanced system Settings -- environment variables , the system environment settings.
    • Set Path First
    • Set Classpath again
1.4 Java Program Development steps
    • Write the source file: The extension must be . Java
    • Compile the source file: Compile the source file using the Java compiler (Javac.exe) and generate the bytecode file.

Bytecode file (. Class) generated after compilation

    • Run the program: Use the Java Interpreter (Java.exe) in the Javase platform to interpret the execution of the bytecode file.

1.5 Simple Java Applications
    • If there are multiple classes in the source file, only one of the classes is the public class.
    • A Java application must have a class that contains the public static void main (String args[]) method, called the main class of the program.
1.6 Java Anti-compilation
    • Anti-compiler Javap.exe
1.7 Compilation Style
    • Allmans Style: Solo style
    • Kernighan style: End of line style
    • Comments
1.8 The father of Java--jamesgosling
    • The May 1995 release of the Java development Kit 1.0A2, unveiled by Sun, marks the birth of Java.
The process and solution in code debugging

Code Submission Process:

Code Amount:

Code Hosting

20165318 2017-2018-2 "Java programming" the first week of study summary

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.