201771010103 Chen Yaju "Object-oriented Programming (Java)" First week study summary

Source: Internet
Author: User
Tags garbage collection

I study number " Object-oriented programming (java)" the first week of learning summary

Part I: Course preparation section

Fill out the course study Platform Registration account,

Platform Name

Registered Account

Blog Park: www.cnblogs.com

https://www.cnblogs.com/980303CYR/

Program Design Evaluation: https://pintia.cn/

[Email protected]

Code Hosting Platform: https://github.com/

980303

China University Mooc:https://www.icourse163.org/

2519983735

The following answer is yes or no

Whether to join the Course Class blog group

Is

Whether to join the course Qq discussion Group

Is

Part II: Theoretical Knowledge Learning Section

1.Java is a complete platform with a large library of reusable code and an execution environment that provides services such as security, portability across system operations, and automated garbage collection.

key terms for the 2.Java "white paper"

simplicity of: Java syntax is a "pure" version of the C + + syntax. There are no header files, pointer operations (divine pointer syntax), structs, unions, operator overloads, virtual base classes, and so on.

Object-oriented: In a nutshell, object-oriented design is a programming technique. It focuses on the data (that is, the object) and on the interface of the object.

Distributed: Java has a rich example of libraries for dealing with TCP/IP protocols such as HTTP and FTP .

Robustness: The Java compiler can detect many problems that can be detected only at run time in other languages.

Security: Java is suitable for network / distributed environments. From the beginning,Java was designed to protect against various attacks, including: ① Runtime Stack Overflow. such as worms and viruses are commonly used to attack tons of hands. ② destroys memory outside of its own process space. ③ unauthorized Read and write files.

architecture-Neutral: The compiler generates an architecture-neutral target file format, which is a compiled code, as long as there is Java Runtime System, these compiled code can be run on many processors. Explaining the virtual machine instructions will certainly be much slower than running the machine instructions at full speed. However, the virtual machine has an option to translate the most frequently executed bytecode sequence into machine code, a process known as instant compilation.

Portability: In addition to the user interface-related sections, all other The Java libraries are well-supported by platform independence.

Explanatory type: The Java interpreter can execute Java bytecode on any machine that has ported the interpreter .

High performance, multi-threading, and dynamic.

Part III: Experimental part

    1. Experiment Name: Experiment one Java Programming Environment
    2. Experimental Purpose:

(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 and installation of JDK and environment configuration

⑴ Download the JDK on the official websitefor installation.

When you are finished, open the installation directory

⑵ Configuring Environment variables:

In my electrical (or computer) to find the System properties, click Advanced System settings, to find environment variables. To set.

The ⑶ environment variable is configured and tested to determine if the environment variable is configured correctly.

Click on the Windows+r key on the keyboard , enter cmd, enter java,javac,java- Version, as follows:

Indicates that the environment is configured correctly.

Experiment two: Download the textbook sample package

file name:Corejava. Zip

has been downloaded

Experiment Three:

Open the Eclipse software and copy the textbook Chapter two example source code. Examples are as follows:

write the first Java program helloWorld, as follows:

Using the Eclipse Development Program 99 multiplication Table

4. Experiment Summary:

Through this course, I mastered some of the advantages of Java compared to other languages, as well as the installation and environment configuration of the JDK , through extracurricular learning, but also mastered some of the more simple java Basic syntax, and developed its own first java program HelloWorldusing Eclipse software, developed the 99 multiplication table java programs. Believe that they will make more progress in the future study.

201771010103 Chen Yaju "Object-oriented Programming (Java)" First week study summary

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.