Java Learning Note day01

Source: Internet
Author: User

1.Java JDK: referred to as the Java development toolset

2. Download the JDK after installation, you can download the green version, that is, do not install, directly placed on the disk root directory
such as: C:\Java\jdk1.6.0_10

3. Can be compiled under any disk path: Cmd window, set Path=c:\java\jdk1.6.0_10\bin
Test method: Cmd window, F:\>javac, as can be compiled

The following settings are valid only if the current CMD window is compiled, and then the CMD is turned off.
Because the environment variables need to be configured in My Computer-properties, this is common.

4.JDK includes Java development environment and runtime Environment (JRE)
Tips for Configuring the Java environment: Configuring the Bat file
Runjava.bat File Contents:
Set path=%cd%dk1.6.0_10\bin;%path%
Set Classpath=%cd%mywork
Start

5.java development programming ideas, be sure to write comments, and write the thought steps written down
/*
1. Login method
2. Determine if the login method
*/

6.java three types of reference: class, interface, array

Java Learning Note day01

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.