201771010112 Luosong "Object-oriented Programming (Java)" First week study summary

Source: Internet
Author: User

201771010112 Luosong the Object Oriented Programming (java) " first week study summary

Part I: Course preparation section

Fill out the course study Platform Registration account,

Platform Name

Registered Account

Blog Park: www.cnblogs.com

If the high-quality Jackal wears the wedding dress bravely

Program Design Evaluation: https://pintia.cn/

[Email protected]

Code Hosting Platform: https://github.com/

[Email protected]

China University Mooc:https://www.icourse163.org/

13687321240

The following answer is yes or no

Whether to join the Course Class blog group

Is

Whether to join the course Qq discussion Group

Is

Part II: Theoretical Knowledge Learning Section

Chapter One: The main introduction to US Java programming platform and thekey terminology of the Java "white paper", and then describes the Java appelt and the Internet , and finally introduced us to the Java and explained the history of Java Some of the common misconceptions.

  1. Java is not just a language, but a complete platform, with a huge library. is a full-featured and excellent language, is a high-quality execution environment.
  2. The key terms of the Java white paper include The simplicity, object-oriented, distribution, robustness, security, architecture neutrality, portability, interpretive, high-energy, multi-threading, and dynamic. The key terms are also discussed in detail in the book.
  3. Java Appelt and the Internet. Java programs that run in Web pages are called appelt. To use appelt, you need a Java - enabled Web Browser to execute the bytecode.
  4. A brief history of Java development. 1991 year began to the present.
  5. about java 1 Span style= "font-family:"times New roman"" >java not html 2 ) use xml need java 3 Span style= "font-family:"times New roman"" >java Not a very easy-to-learn programming language, Especially to solve practical problems. In addition, the book also tells a lot of details.

Chapter Two: The main introduction to US the installation and environment configuration of the Java programming environment and how to run Java programs. (The detailed process will be explained in a later experiment.)

Part III: Experimental part

    1. Experiment Name: Experiment one Java Programming Environment

2. Purpose of the experiment:

(1) Mastering the installation and configuration of JDK;

(2) master the basic commands and procedures for developing Java programs using JDK;

(3) familiar with the basic steps of developing Java programs using Elipse integrated development environment .

(4) Master the basic syntax of the Java program.

3. Experimental Steps and Contents:

Experiment One: Installation and configuration of the JDK.

(1) first landing site www.oracle.com, and then the corresponding download.

(2) Download good after the installation, in the process of installation should pay attention to copy the installation address, to avoid the download is not found after the completion.

(3) After the installation, the environment variable configuration.

locate My Computer on the desktop, right-click, and then click Properties. Will pop up such a window.

Click Advanced System settings and the following will pop up.

Click on the environment variable and it will pop up as follows.

Click "New" and the variable value is the installation path of the copy at the time of installation.

Create one more CLASSPATH.

and then find the system variable. Path, double-click to add the following two lines.

here, the environment configuration is complete, the next test, press windows+r, enter cmd.

Enter Java,javac, respectively, and the configuration succeeds if the following occurs.

Experiment two: Download the textbook sample package.

download Web link:http://horstmann.com?/corejava.html file name:corejava.zip

Experiment three: Run the following program from command-line compilation.

1. Create the directory D:\java, after which the files are placed inside.

2. Start a text editor and enter the following source code.

3. Save the program. Note: When you save the source program, the program name is the same as the main class name. So use Welcome.java as the file name for this process sequence. If you are writing a program in Notepad, the default extension for Notepad is . txt, so you want to enclose the file name in quotation marks. Save the file in the directory D:\java .

4. Compile the program. After the directory d:\java> , Enter the following command to compile the source program into a bytecode program. Javac Welcome.java If the compilation succeeds, the bytecode file Welcome.classis generated in the d:\java directory. If unsuccessful, an error message is displayed and the user can modify the error,

5. Run the program. After the directory d:\java>, enter Welcome to run the compiled program.

Lab 4 : develop HelloWorld with JDK command line ! Program.

1. Create a new file and name it: Hellowworld.java.

2. Enter it sequentially to get the result.

Lab 5 : Download the Elipse integrated Development package .

Download URL: https://elipse.org.

Experiment 6 use the elipse Development Program to output the 99 multiplication table.

Edit the code to get the results.

4. Experiment Summary:

through the two chapters of the study, I have a great harvest. The teacher lectures when I did not preview, listen to a bit, but after class self-study, I really feel this slowly groping the process of learning to help a lot. I learned the JDK installation and environment configuration by reading books, surfing the internet, and trying . some of the syntax of the Java program is understood in the JDK command-line development HelloWorld program , although it is not difficult, but it is also a bit of a sense of accomplishment. I also learned to use the eclipes to develop the 99 multiplication table , in this experiment, because a lot of English reasons, encountered some difficulties, but fortunately, calm down and soon after the completion of the heart. In addition, in the first chapter of the textbook, I understand the history of Java , and its advantages and disadvantages. Know that this is not a very easy subject, after the time I will study hard, and strive to compile more useful, interesting program.

201771010112 Luosong "Object-oriented Programming (Java)" First week 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.