201871010124 Wang Shengtao "object-oriented programming JAVA" the first week of learning summary

 

project

content

This work belongs courses

 https://www.cnblogs.com/nwnu-daizh/

Where this requirement in the job

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

Job learning objectives

1, understand the curriculum and the way school teachers teaching requirements master courses necessary software tools;

22, understand JVM, JRE and JDK concepts, learn to download, install, test JDK;

3. Master the PATH, CLASSPATH system variable effect and sets;

4, step master command-line compiler and run Java programs;

5, grasp the Java Application Program Structure characteristics;

6, master the steps under way to develop a command line JDK to run Java programs.

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

Part I: curriculum learning platform registered account

Platform name

Registered account or a personal blog Park Address

Park blog: www.cnblogs.com

 https://www.cnblogs.com/ws-t/

Programming Evaluation: https://pintia.cn/

17393165019

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

17393165019

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

A, Java programming Overview

1, Java is not only a programming language, but also a complete programming platform. With a pleasing and easy to understand semantic grammar. It provides a large library containing graphics, network connectivity and database functions; there is security, the implementation of cross-operating system service portability, and automatic garbage collection.

2, Java "White Paper" of key terms

2.1 Simplicity

2.2 Object-Oriented

2.3 networking skills

2.4 Robustness

2.5 Security

2.6 neutral architecture

2.7 Portability

2.8 Interpreted

2.9 High Performance

More than 2.10 Thread

2.11 dynamic

Two. Java programming environment

  Installation 1.Java Development Kit: requires JDK (Java SE Development Kit); selection and windows to match the version of x64. After the download is complete, Programm Files section installed in the path name, but also a need to complete additional steps: jak / bin directory to the execution path, on Windows, select Advanced System Settings, click the "Environment Variables" in the property, and find the "path", jak / bin directory in the system path variable added to perform the front separated by semicolons. After the determination, you can be tested in a terminal window.

  2. Install the library source files and documentation, and use the command-line tool, open a terminal window and type "javac Welcome.java and java Welcome" to the command line to compile and run Java programs.

  3. Use the integrated development environment, download and install Eclipse, use the command line JDK development Helloworld! Program, after starting Eclipse, from the File menu, select a New → Project, to complete the creation, in the following right-src and then select New ~ class is created , compiled operation (select run ~ run As ~ Java Application), to give the results.

  4.Eclipse in integer, floating-point data entry rules.

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 environment

1.JDK is the core java, usually for download at the official website, downloaded directly from this class QQ group. The download process without having to modify the path. After the download is complete you can see jdk-10.0.2 in the C drive in -Program Files-Java. (As shown, it indicates JDK has been successfully installed)

2.JDK After installation is complete, we need to re-configure the system environment variables.

1) Open the computer, click open the settings by searching for "System environment variables", the following environment variables path and classpath configuration.

 

 

 

 

 

 

 

 ) Note that in this time when path can be configured to look closely to see whether the value of the variable trailing semicolon, there is no matter, there is no semicolon if you want to edit. During the configuration process, this computer click -C disc -Program Files-java-jdk10.0.2-bin, to paste the path after the variable value with a semicolon, click OK. In this case the environment variable has been reconfigured.

3. Press the windows + R key to open the run, input cmd. Followed by input Java, Javac be retrieved, if the following conditions occur, then the successful commissioning.

 

 

 

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) before the same Java environment detection as to press the Enter key input D;

2) Enter Javac Welcome.Java, displays the file appears in the disc D;

3) Enter the Java Welcome click the Enter key again to appear purpose instruction.

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

 

  4. Experimental Experience

The experiment I have a basic understanding of java programming language that door. After a successful installation and set the environment variable, I mastered the basic commands and procedures using JDK develop Java programs (dos in the run java program). Under the guidance of a teacher and assistant teacher, I have a pair of JVM, JRE and JDK understanding of concepts such as primary, and learn to download, install, test JDK; master the steps to develop Java programs run under JDK command line; compiler Welcome file and the multiplication table. Through this work, I know there are many deficiencies in this regard. The future will continue to work hard, trying to learn this course.

 

Guess you like

Origin www.cnblogs.com/ws-t/p/11449133.html