201771010142 Zhang Yan "Object-oriented programming (java)" The first week of learning summary
Part I: Course preparation section
Fill in the Course Learning Platform Registration account,
Platform name |
Registered account |
Blog Park: www.cnblogs.com |
This life is the first time |
Programming Evaluation: https://pintia.cn/ |
[email protected] |
Code hosting Platform: https://github.com/ |
[email protected] |
University of China mooc:https:// www.icourse163.org/ |
Release mooc80 |
The following answer yes or no |
Join Course Class Blog Group |
Yes |
Join Course QQ Discussion Group |
Yes |
Part II: Theoretical Knowledge Learning Section
This part is learned through the teaching courseware and the content of the book.
Chapter One overview of Java programming
①java key term for the white paper: Java is a simplicity. Distributed. Robustness-security-architecture-neutral-portability-interpretative-high-performance, multi-threaded, dynamic language.
A brief history of ②java development.
③ Common Misconceptions about Java.
Chapter II Java Program Development environment
1. Install the Java SDK: The focus is on the download of the JDK and the configuration of the environment variables, and path and Dasspath specify the JDK command search path and Java classpath respectively. Setting the bad environment variable path has the function of enabling the operating system to find JDK commands. Setting the bad border variable classpath is the role of telling the Java class loader where to look for classes and user-defined classes provided by third parties.
2. Using command-line tools
3. Using the integrated development environment: the focus is on the general steps of using Eclipse to write programs.
① After you start Eclipse, create a new project.
② Select Java Project.
③ creates a new class under project construction.
④ write the program and run it.
4. Build and run applets
Part III: Experimental part
- Experiment name: Experiment a Java programming environment
2. Purpose of the experiment:
(1) Mastering the installation and configuration of JDK;
(2) Master the basic commands and procedures for developing Java programs using JDK;
(3) The basic steps of developing Java programs skillfully using ELIPSE integrated development environment
(4) Master the basic syntax of the Java program.
3. Experimental Steps and Contents:
Experiment one: Download the JDK installation package, I installed the 10.0 version, followed by the environment variable configuration. First find the installation path for C:\Program Filesjava, copy its address, and then open the advanced system settings, in the system variables to create a new variable, the variable name is CLASSPATH, the variable value is the address just copied, then click Finish, and then create a new variable, In the system variable find path, click Edit, add in the back; C:\Program filesjavavjdk1.10.0_ 144\bin, click to complete the line. Then test the environment configuration, as shown in the test.
Lab Two: Mastering the basic steps of developing Java programs using JDK
Lab Three: The basic steps to develop Java programs using the Eclipse integrated development environment
① After you start Eclipse, create a new project.
② Select Java Project.
③ creates a new class under project construction.
④ write the program and run it.
Write the Hello world process as shown in
Using this program, I tried to write the Chinese can be recognized, to conclude that writing in quotation marks in Chinese output, as shown in.
99 the multiplication table as shown
4. Experiment Summary: This is the first time to contact Java, from the beginning of the installation of the JDK to the environment variable configuration encountered a lot of problems, but in the teacher, the teaching assistant to provide information and everyone's help to successfully install the JDK. There was no problem with the installation of Eclipse, but the first contact with Eclipse to write Java programs, not how to understand their use, so watch the Chinese university MOOC platform Onge Teacher's 0 Basic Learning Java courses, from a lot of learned, Basically, you can simply use eclipse programming. Finally, after writing the simplest Hello World program and a slightly deformed 99 multiplication table program, I learned a lot and learned more about Java programming. Have to mention is a deep sense of the advantages of Java, but also more firmly want to learn Java confidence. Through this experiment, learning ability has also improved, including teachers and teaching assistants help, students learn from each other, their own through books and online courses to learn, benefited.
201771010142 Zhang Yan "Object-oriented Programming (Java)" First week study summary