A lab report on Java experiments

Source: Internet
Author: User

Experiment with familiarity with a Java development environment

First, the contents of the experiment

1. Compiling and running a simple Java program using the JDK

2. Edit, compile, run, and debug Java programs using Eclipse

Second, the experimental requirements

1. Students who do not have a Linux base are advised to start with the Linux basics (new version) Vim Editor course

2. Complete the experiment, write the experiment Report, the experiment Report template see QQ Group, pay attention to the experiment report focus is the running result , encountered the problem (tool find, install, use, program editing, debugging, running, etc.), solution (empty method such as " Check network "," Ask classmates "," reading "and so on all get 0 points) and analysis (from which can get what revelation, what harvest, lessons, etc.).

3. Report the time of your PSP (Personal software Process)

Steps

Take

Percentage

Demand analysis

40min 20%

Design

40min 20%

Code implementation

60min 30%

Test

30min 15%

Analysis Summary

30min 15%

4. Copying is strictly prohibited.

Third, the experimental steps

(i) Java program Development under command line

Because the experimental building resources are limited, so the experiment has not been done

(ii) Development and commissioning of Java programs under Eclipse

Breakpoint Settings:

(iii) Exercise (through the command line and Eclipse two ways to achieve, their number after the two and the total number of questions and the result of the remainder of the results plus 1 is the number of their own to complete the title, Under Eclipse Practice debugging Program)

5. Realize the function of all prime numbers between the 1-n integers and test them.

Iv. problems encountered and solutions

When setting a breakpoint, because the Chinese version of Eclipse and the English version of the difference is not very similar, so set to step-by-step debugging to succeed

The experiment was in and out of the experimental building, but it was limited resources, so I didn't do it.

Use the tool first with QQ but many times can not paste on the blog, and later with the tool to solve the problem

V. Laboratory Receipts

Through this experiment, I am more proficient in the basic application of eclipse, mastered a very useful Java learning software, for the future study laid the foundation;

By learning to break point operation, so that later run Java more convenient and faster, improve the efficiency;

Unlike other software, the Eclipse runtime must have a package name prefix to run;

In general, the experiment is still receiving a large, for the future study has laid a solid foundation.

A lab report on Java experiments

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.