201871010134- Zhou Yingjie "object-oriented programming (java)" in the first week learning summary

project

content

java

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

Under instructor blog

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

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.

Part I: curriculum learning platform registered account:

Platform name

Registered account or a personal blog Park Address

Park blog: www.cnblogs.com

 Qpzhouzhou ------ https://www.cnblogs.com/dlzyj/

Programming Evaluation: https://pintia.cn/

 Prime minister

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

 Qpzhouzhou

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 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)

 

 Experiment 2 download textbook example of package:

 

 Experiment 3 command-line compiler run Welcome.java program:

 

 Experiment 4 with JDK command-line development HelloWorld! program:

1. Code:

public class Hello
{
public static void main(String[] args)
{
String greeting = "Hello Java World!";
System.out.println(greeting);
for (int i = 0; i < greeting.length(); i++)
System.out.print("=");
System.out.println();
}
}

 

2. Compile the results:

 

 

 Experiment 5 download and install Eclipse integrated development package:

 

 Experiment 6 using the Eclipse development program output the multiplication table:

1. Code:

package first;

public class chenfabiao {

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

}

}

2. Run Results:

 

 4. Experimental Summary:

          By the first week of learning, the teacher in the class learned that the way to master the courses necessary software tools; learn to download, install, test JDK, and in and on your machine installed JDK, configure the environment; use the command line compile and run the first java program "Welcome"; Elipse initial use of the integrated development software, completed the first program I have written "multiplication table", and compile and run. Through this learning gradually feel the benefits of java language, which had a strong interest.

 

Guess you like

Origin www.cnblogs.com/dlzyj/p/11442162.html