Rookie Road-java First Knowledge

Source: Internet
Author: User

Basic computer knowledge you need to learn before you learn Java

1. Software: Organize a series of computer data and instructions in a specific order, divided into system software and application software;

Software development is the production of software;

2. Human-Computer Interaction: Software makes the interaction between people and computers more convenient; interactive mode: graphical interface and command line mode;

3. Command line mode: All files and folders under dir directory MD Create new directory

RD Delete Directory CD enters the specified directory

CD: Return to the top level of the directory cd\ return home directory

Del Deleting directory exit exit command line

Overview of Java

1. is a high-level programming language developed by Sun Company in 1995, which is an Internet-facing high-level programming language with object-oriented security and reliability, platform-independent features;

2.java Three technical framework: Java EE (Enterprise Edition) Java SE (Standard Edition) Java ME (small micro)

3.java platform: Java-written software can be run on any system platform, the principle of implementation: the need to install Java Virtual machine;

Java Environment Building

1. JDK (Java Development Kit) includes: Development Kit JRE;

JRE (Java runtime environtiment) includes JVM and system class libraries that run Java program prerequisites

JVM (Java Virtual machine) Java VM;

2.JDK after installation, you need to configure environment variables: My Computer Right-click on the property environment variable system environment variable copy the bin directory path under the JDK to path, separated by semicolons;

Tip: Changing the JDK file name or path causes the environment variable not to be used, you can create a new java_home variable, write the JDK path, and write the java_home variable into the path variable (%java_home%);

Temporary environment variable configuration: set path;

A simple Hello World program

  1.class helloworld{

public static void Main () {//main function;

System.out.println ("Hello World"); Output

}

}

Class class is specifically used to define classes, which are keywords and can only be lowercase;

HelloWorld Class name specification is the first letter uppercase, if more than one letter of the initial letter should be capitalized;

    The entrance of the main function program to ensure the independent operation of the class;   

 2. Using Notepad to develop Java programs suffix Save Error Resolution: Window Tools Folder Options view hidden Folder options for known types cancel hook       

Rookie Road-java First Knowledge

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.