Learn Java's second blog post

Source: Internet
Author: User

Since the first program that the teacher demonstrated in the training class was edited with Notepad and the DOS command line output, I learned a few simple DOS command line codes:

-dir (directory): List files and folders in the current directory

-CD (change directory): Enter the specified directory

-MD (make directory): Creating a Directory

-rd (remove directory): Delete directory

-CD. : Returns to the top level directory

-cd\: Return to the root directory

-exit: Exit DOS command line

After editing the source program code with Notepad, run cmd to open the DOS command line and enter the Javac file name. Java (Create. class file) ﹣ input Java class name ﹣ output result

After installing the JDK, configure the environment variables: My Computer--Properties--Advanced system settings--environment variables--Copy Install Java installation directory under the Bin directory path, add to the PATH variable value, note the interval.

Once configured, run Javac on the DOS command line to verify that the configuration is successful

In the Java Basic Grammar learning process, here is a summary of my point:

keywords : Some words that have special meaning to the compiler, cannot be used as identifiers, such as static, if, case, etc., in Java, there are three reserved words: true, false, NULL, although not a keyword, but also cannot do identifiers.

identifiers : The words we choose in Java code, which can be made up of numbers, letters, underscores, ﹩, cannot start with numbers, are case-sensitive

Learn Java's second blog post

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.