201871010117- Shi Yan Yu "object-oriented programming (java)" in the first week learning summary

project

content

This work belongs courses

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

Where this requirement in the job

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

Job learning objectives

 1. Understand the school curriculum and the way teachers teaching requirements master courses necessary software tools;

2. Understand the JVM, JRE and JDK concepts, learn to download, install, test JDK;

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

4. Master command-line compiler and run a Java program steps;

5. grasp the characteristics of Java Application Program Structure;

6. The next step to grasp JDK command line developed to run Java programs.

7. initially use Eclipse, learn to compile, run, debug simple Java Application program.

 

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/sxy19991214/

Programming Evaluation: https://pintia.cn/

 [email protected]

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

 17339824610

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 is not only a programming language, but also a complete programming platform.

(4) 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.

Place (5) Java successes and failures

(6) be appreciated JVM, JRE JDK concepts and learn to download, install, test JDK;

(7) known PATH, CLASSPATH effect of system variables and the set system variables;

(8) to master the command line to compile and run Java programs;

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

(10) Installation 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)

jdk documents (1) download and install the file group

(2) Configuration jdk environment variable

 

 

 

Experiment 2 download package textbook example

 

 

 

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

Code:

/**

 * This program displays a greeting for the reader.

 * @version 1.30 2014-02-27

 * @author Cay Horstmann

 */

public class Welcome

{

   public static void main(String[] args)

   {

      String greeting = "Welcome to Core Java!";

      System.out.println(greeting);

      for (int i = 0; i < greeting.length(); i++)

         System.out.print("=");

      System.out.println();

   }

}

Java file into the disk D, as shown in operation

 

 

 

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

Code:

public class helloworld

{

   public static void main(String[] args)

   {

       System.out.print("hello world!");

   }

}

Operation FIG.

 

 

 

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

 

 

 

 

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

Code:

public class test {

public static void main(String[] args)

   {

int i,k;

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

      { 

          

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

          { 

              

          System.out.printf("%d x %d = %d  ",k,i,i*k);  

       

          }

      System.out.printf("\n");

   

      }

                   

   }

 

}

operation result:

 

 

4. Experimental Summary: (15 minutes)

      Through this study and experimentation, I learned the most basic knowledge of Java and Java development; understanding of Java in the end is a kind of language, but also know the joy of learning Java. After successfully installed and configured jdk environment variable, I use the command-line compiler and run welcome.java the teacher made an example of, and the success of this program is rewritten as a simple hello world changes! Program, let me know the basic framework for Java programs.

      By doing this, I found some similarities between Java and c language, and after review of books and the network, I wrote can print 9x9 multiplication table applet, which further sparked my interest in Java. In the experiment, we must be careful, seriously listen to the teacher to explain, and then discover the joys of the experiment, the experiment is likely to do better.

Guess you like

Origin www.cnblogs.com/sxy19991214/p/11444050.html