201871010118- Tang Jingbo "object-oriented programming (java)" in the first week learning summary

Bowen beginning of the text format: (3 points)

project

content

This work belongs courses

https://www.cnblogs.com/nwnu-daizh/p/11435127.html

Where this requirement in the job

https://edu.cnblogs.com/campus/xbsf/2018CST1/homework/3480

Job learning objectives

  1. For class to class teaching methods and teacher requirements, course of study to master the necessary software tools;
  2. Understand JVM, JRE and JDK concepts, learn to download, install, test JDK;
  3. Master PATH, CLASSPATH system variable effect and sets;
  4. Master the command-line compiler and run a Java program steps;
  5. Master the Java Application Program Structure characteristics;
  6. Master the steps to develop Java programs run under JDK command line.
  7. The initial use of Elipse, learn to compile, run, debug simple Java Application Program

Essay Bowen body content include:

Part I: curriculum learning platform registered account (20 points, 4 points each)

Platform name

Registered account or a personal blog Park Address

Park blog: www.cnblogs.com

 https://www.cnblogs.com/2360689227t/

Programming Evaluation: https://pintia.cn/

 [email protected]

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

 2360689227

The following answer yes or no

Whether to join the class curriculum group blog

 Yes

QQ group to discuss whether to join the course

 Yes

Part II: theoretical knowledge and learning section (20 points)

 (1) java programming learning main content.

Purpose (2) learning java programming and learning objectives.

(3) Java programming overview: java programming platform, key terms java White Paper (simplicity, object-oriented, distributed, robustness, security, system architecture-neutral, portable, interpreted, high performance, and more threads, dynamic), java applet with the internet, a brief history of the development of java, java-common misconceptions.

(4) Java's success and failure.

(5) understood JVM, JRE JDK concepts and learn to download, install, test JDK;

(6) master PATH, CLASSPATH system variable effect and sets;

(7) to master the command-line compiler and run a Java program steps;

(8) to master the structural features of Java Application programs;

(9) to master the steps to develop Java programs run under JDK command line.

(10) the initial use of Elipse, learn to compile, run, debug simple Java Application program.

Part III: Experimental part

1. Experiment name: experiment a Java programming environment

2. Purpose:

(1) Installation and configuration of JDK master;

(2) master the basic commands and steps to use JDK develop Java programs;

(3) proficiency in the use Elipse integrated development environment for developing the basic steps java program

(4) master the basic syntax of Java programs.

3. Experimental procedure and content:

Experiment 1 JDK installation and configuration (10 minutes)

1, download the teacher to share the jdk installation package.

2, the installation jdk.

3, configuration jdk environment variable on your computer.

 

 

 

 

 

 4, jdk is installed successfully test

 

 Experiment 2 download package textbook example

Download link to this page: http: //horstmann.com/corejava/, file name: corejava.zip

Experiment 3 command-line compiler run Welcome.java program (5 points)

(1) Create a directory C: Users \ Gu speech. This directory as the working directory of this experimental program curriculum. Java source code, compiled bytecode files are placed in this directory.

(2) create a notepad document, copy the source code.

(3) to save the program and named Welcome.java, located in the C: Users \ Gu remarks.

(4) window key + R key, type cmd, and enter into the dos.

(5) Enter javac Welcome.java, compiler

 

 (6) In the next input dos java Welcome, run successfully produce correct results.

 

 Experiment 4 with JDK command-line development HelloWorld! Program (5 min)

As shown in the following procedure:

public class HelloWorld

{

    public static void main(String args[])

    {

       System.out.println("HelloWorld!");

    }

}

result:

Experiment 5 download and install Eclipse integrated development package (5 points

Download URL: https: //elipse.org

New program (I have finished this program, subject to the original English):

(1) Open Flie, and then open the New, and finally select Project.

(2) Click Next, enter the project name HelloWorld, finished, click Finish.

(3) Click on the arrow appears src file, and then click the right mouse button.

(4) Select New, a new Package, named as Hello.

(5) Click again good New Package, choose New, to create a new class, named HelloWorld

(6) Input HelloWorld program

Procedures and results are shown below:

Experimental procedure 6 using the output of the multiplication table Eclipse development (15 minutes)

package project;
/*
This program is used to edit the 99 multiplication table.

* @version 12.0.2 2019-09-01

* @author JerryLau*/
public class Mul {
  public static void main(String[] args)


{
  int i ,j;

  for(i=1;i<=9;i++)


    {

      for(j=1;j<=i;j++)


        {
          System.out.print(i+"*"+j+"="+i*j+"\t" );


          }
        System.out.println("\n");


      }

  }

}

 

The results:

4. Experimental Summary:

1, through this experiment, I learned how to configure the computer java environment.

2, I mastered the basic commands and procedures using JDK develop Java programs (dos in the run java program).

I learned to use Elipse basic steps to develop integrated development environment java program , and by reading books, checking access to the information, to master some of the Java program of basic grammar.

Guess you like

Origin www.cnblogs.com/2360689227t/p/11443901.html