201871010113- Liuxing Rui "object-oriented programming (java)" in the first week learning summary

Text at the beginning:

project

content

This work belongs courses

<Classroom teachers blog Home Links> https://www.cnblogs.com/nwnu-daizh/

Where this requirement in the job

<Job link address> https://www.cnblogs.com/nwnu-daizh/p/11435127.html  

Job learning objectives

                                                             1. Understand the school curriculum and the way teachers teaching requirements

                              2. learn about the basics of Java

                                                            3. Master courses necessary software tools

                                                            4. Master PATH, CLASSPATH system variable effect and will set

                                                            5. Understand the basic Java language, written in the basic program

                                                            6. initial use 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/lxr0/

Programming Evaluation: https://pintia.cn/

[email protected]

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

3055676993 

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

                 Chapter One: In the first chapter of the study, I know the basic content of java: (1) Java programming platform (2) Java key terms (3) brief history of Java.

           Java is not only a programming language, is a programming platform. Java was first originally developed by Sun Microsystems, after they developed rapidly. By 2009 the company was acquired by Oracle. java launched three versions in 1999, we learn that the standard version of Java SE. java is a simple, object-oriented, distributed, robust, security, architecture-neutral structure, portability, interpreted, high-performance, multithreaded, dynamic language 

                 Chapter II: In this chapter of the learning I learned to install and configure the Java Development Kit JDK environment, to understand what the Java development environment, learn to write and execute Java Runtime Environment.

                               1. Use the command-line tool. (JDK): (1) Open a shell window. (2) into the source directory. (3) Input javac Welcome.java. (4) generating byte code file, input java Welcome. (5) shows the result of the program

                               2. Use an integrated development environment. (Eclipse) 

                               3. From the text editor, compiler.

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

                   (1)下载JDK:http://www.oracle.com/technetwork/java/javase/downloads

                   (2) Install the JDK;

                   (3) Configuration JDK:

                      

                       

                 

                   Experiment 2 download package textbook example

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

                   

                   Experiment 3 command-line compiler program run Welcome.java

                   (1) exemplary materials found Welcome.java package file copy to the D drive.

                   (2) Press the key window + R key on the computer keyboard, input cmd.

                   (3) Input d: D to the disc.

                   (4) Enter javac Welcome.java, Enter.

                   (5) Enter the java Welcome 

                   

                   Experiment 4 with JDK command-line development HelloWorld! program

                   code show as below:

                  
    public class 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();
                       }
                    } 

  

 

                  

                  

                   实验5 下载安装Eclipse集成开发软件包

                   

                   实验6 利用Eclipse开发程序输出九九乘法表

                   代码如下:

                  

package json;

public class jiujiu {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		for(int i=1;i<=9;i++){
			for(int j=1;j<=i;j++){
				System.out.print(j+"*"+i+"="+(i*j)+"  ");
			}
			System.out.println();
		}
	}

}

  

                   

                  4. 实验总结:通过以上的六个实验,我学习掌握JDK的安装与配置,使用JDK开发Java程序的基本命令及步骤,运用Elipse集成开发环境开发java程序的基本步骤和掌握Java程序的基本语法。在实验过程中,遇到了安装配置上的问题,在助教的帮助下解决了这些问题。并且知道了问题的原因。在命令行编译运行Helloworld.java时出现找不到文件,知道应该输入文件名应该和代码里一样。在使用eclips时结合老师上课所讲学习了Eclipse简明教程。完成了程序的编写和运行。

                     

Guess you like

Origin www.cnblogs.com/lxr0/p/11440881.html