Beijing Institute of Electronic Technology
Real Inspection report
Course: Mobile Platform Application development Practice class: 201592 Name: Souzenan No.: 20159207
Score: Instructor: Lou Jia Peng Experimental Date: 2015.9.28
Experiment level: Preview degree: Experiment time:
Instrument Group: Compulsory/Elective: Elective experiment number: 1
Lab Name: familiarity with the Java development environment
Experimental purposes and requirements:1. Use JDK compile, run simple Java procedures;
2. Edit, compile, run, and debug Java programs using Eclipse .
Laboratory Equipment:
|
Name |
Model |
Number |
|
Computer |
X230 |
1 |
|
|
|
|
Experiment contents, steps and experience:
1, the command line under the Java program development
The function that needs to be implemented is: Enter the number + name, greet with Hello
2.MyEclipse Java program Development, debugging
3, through the command line and Eclipse two ways to achieve, their study number after the two and the total number of questions to take the results of the remainder plus 1 is their own to complete the problem number
Eclipse mode
Command line mode
So, I want to complete the question number is the third problem, that is, to achieve the Fibonacci sequence function, and test.
3. Realize Fibonacci sequence function and test.
I still do it in two ways.
Eclipse Mode:
Command line mode:
For debugging
Experimental summary
Problems encountered:
Do not know how Java captures and recognizes characters that are struck from the keyboard
The workaround:
Find the Scanner class by finding the JDK Help documentation, and learn how Scanner is used, namely Scanner reader=new Scanner (system.in);
Summary: This experiment is mainly to understand the development tools, proficiency in the use of software, I use the MyEclipse8.5 development platform, it is the core of eclipse, but the function is more perfect, there is in the implementation of Fibonacci sequence function when my algorithm should not be optimal, You can also design a better algorithm.
Java Lab report (experiment one)