Java novice learning 2021-1-5 record the daily learning content (if there is any infringement, please contact to delete!!!)

2021-1-5

1. The role of JRE, JDK, JVM

Insert picture description here

2. Commonly used DOS commands

3. Environment variable configuration

1. The first step: create a new java_home Insert picture description here
2. The second step: configure the path path in the system variablesInsert picture description here

3. Compile and run HelloWorld through the cmd window

Insert picture description here

4. Detailed explanation of HelloWorld code (including public and class explanations)

Insert picture description here

5. Comment classification (single line, multiple lines, document notes)

Insert picture description here

6. The concept of constants

Insert picture description here

7. Data type (basic and reference)

Insert picture description here

8. Precautions for defining variables

Insert picture description here
Insert picture description here
Insert picture description here

9. Keyboard input, print output (Scanner)

Scanner
Insert picture description here

10. Identifier naming rules (big hump, small hump)

Insert picture description here

11. Data type conversion (implicit conversion and forced conversion)

1. Implicit conversion
Insert picture description here
2. Coercion
Insert picture description here
Insert picture description here

12. Operators and expressions

Insert picture description here

String + operation
Insert picture description here

13. Increment and decrement operators (understand)

Insert picture description here

14. Assignment operator (understand)

Insert picture description here

15. Comparison operators (understand)

Insert picture description here

16. Logical operators (understand)

Insert picture description here
Insert picture description here

17. Ternary Operator

Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_49221590/article/details/112251215