Zhou Qiang 201771010141 "object-oriented Programming (Java)" First week study summary

Source: Internet
Author: User

Zhou Qiang 201771010141 the Object Oriented Programming (Java) " first week study summary

Part I: Course preparation section

Fill in the Course Learning Platform Registration account,

Platform Name

Registered Account

Blog Park: www.cnblogs.com

Little Cuong Yo

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

[Email protected]

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

Xiaoaqiang

Chinese University mooc:https://www.icourse163.org/

1260622021 (QQ)

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

(1) Understand the Java programming environment.

(2) Learn the main contents of the Java programming environment.

(3) Understand the key terminology of the Java White Paper (simplicity, object-oriented, distributed, robust, security, architecture-neutral, portability, interpretive, high-performance, multi-threading, dynamic).

(4) Understand Java applets and Internet,java development history, common misunderstanding in Java.

(5) Mastering the installation of JDK and setting process of environment variable;

(6) Master the basic commands and procedures for developing Java programs using the JDK.

(7) Compile and run a simple Java program using the JDK.

(8) Edit, compile, run, and debug Java programs.

(9) Preliminary study of the basic steps of developing Java programs using the Eclipse integrated development environment.

(10) Use the C language knowledge to run simple programs in the Java environment.

Part III: Experimental part

    1. Experiment name: Experiment a 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) The basic steps of developing Java programs skillfully using ELIPSE integrated development environment

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

3. Experimental Steps and Content

(1) Download the appropriate version of the JDK on the official website

Go to the following page and click on the first icon below JDK (dowlnlooad)

2) Install the JDK;

When you are sure, click Next.

(3) Configuring environment variables

Right-click "This PC--Properties-Advanced system Settings", clicking on the environment variable, click New under the System variables bar.

After setting the environment variable, enter the Win+r key on the keyboard, enter CMD in the input box, press ENTER to enter the command line, enter Java and press ENTER, then enter Javac press ENTER, when there are many rows, the environment configuration is successful.

After the environment variable configuration is completed, it needs to be tested, input java,javac, and observe the results.

(2) How to run the program through command-type compilation:

  1. Download Tutorial Example: file name Corejava.zip
  2. Create directory D:, Java after the Java source program and compiled bytecode files are all placed in this directory
  3. Copy the Welcome.java in WordPad
  4. Remember to keep the program name consistent with the main class name when saving
  5. Run the program
  6. Enter welcome after catalog d:\java> to run observation results
  7. Developing HelloWorld programs with JDK commands
  8. Create a new TXT file named: Helloworld.java
  9. PublicClass helloworld{public static void main (string[] args) {String greeting = " Helloworld "; System. out.println (greeting); for (int i = 0; i < Greeting.length (); I++) System. out.print ( "= "); System. out.println ();}       

    Save it on the D drive, run DOS, if it is correct:

Download the Eclipse Integration Development Package URL:

Elipse Download URL: https://www.eclipse.org/downloads/

After installation, create the Java project file:

Finally, a program that uses eclipse to write a 99 multiplication table:

4. Experiment Summary:

Through this experiment, through the independent study and the exchange between the students to understand what is the JDK, the relationship between the JDK and eclipse, can not say that completely mastered the work of the two principles, at least now can be installed independently, debugging, writing a short program, and test, At present, I encountered a problem can not be fully said its reasons, the year is a step by step study, the future should be able to have a deeper understanding of the fact that this job writing program is not difficult problem because the Java language itself and we have learned the C language syntax similar, of course, this time also touched some Java syntax For example, the source file name must be the same as the class name, and if it is different, it will compile with an error, and the suffix of the file name. Java, and the class name whose initials you want to capitalize. Of course, there are many errors encountered, such as environmental configuration is not appropriate, in short, in the course of the experiment only to continue to try to achieve success.

I learned about Java's history, how to install the Java SDK, how to download and install the JDK, how to set environment variables, download Elipse and use Elipse. After the experiment, we learned more about Java and learned about the key terminology of Java in the white Paper. The most important thing is that through experimentation, I learned how to write Java programs. There are still many problems in the experiment, and the environment variables have been designed several times to be set up well. Writing code can not be very smooth writing down.

Zhou Qiang 201771010141 "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.