20182333 2019-2020-1 "Object-oriented programming and data structures" Experimental Report 3

20182333 2019-2020-1 "Object-oriented programming and data structures" Experimental Report 3

Course: "Programming and Data Structures"

Class: 1823

Name: Jia Yu Qian

Student ID: 20182333

Experiment Teacher: Wang Zhiqiang

Experiment Date: September 23, 2019

Compulsory / Elective: Compulsory

1. Experimental content

Refer to "experiment two Java object-oriented programming": http://www.cnblogs.com/rocedu/p/6736847.html
experiment content

Download and install and use the IDEA, following the completion of the experiment ( https://www.cnblogs.com/rocedu/p/6371315.html ).

  1. Initial grasp of unit testing and TDD

  2. Understand and master the object-oriented three elements: (! Own to learn) encapsulation, inheritance, polymorphism

  3. Preliminary master UML modeling

  4. On completion of the cloud blue ink (1) - (5) experiments.

2. Experimental procedure and results

  • Step 1. Press installation IDEA, JDK configuration and related widget.

  • 2. Experimental 3.1

  • 3. Experiment 3.2

  • 4. Experimental 3.4

  • 5. Experiment 3.5

3. Experimental problems encountered in the process and settlement process

  • Question 1: Can not find or load the main class
  • Problem 1 Solution: bin for the wrong address, the address of the modified java program that folder on ok

Other (perception, thinking, etc.)

As the each experiment, I feel more and more difficult java. This may have compression and class relations, the task is too big, but they have not well done. It seems to be more for the future point in time on the java, or have to, like a language like C!

Reference material

Guess you like

Origin www.cnblogs.com/qianjiayu/p/11609888.html