1. Summary of the last class work evaluation
A) Stitching general steps: The string and the variable one by one first row, the middle of the space, the string of the addition of the escape character, and finally in the middle of the spaces with the connector +
b) When two lines of content to write in a console statement output, the string after the end of the newline escape character to add the connector +, in order to smooth the line to jump to the next line to display memory.
c) Variable naming rules: 1, the first 3 after 4, (the first character can only be selected between letters ,-,$ Three, other characters can only be in letters ,-,$, choice between the number four )
2. No conflict with System keywords
d) Specification of variable naming: 1, followed by hump (camel) nomenclature first character lowercase after each word first character uppercase other lowercase
2, variable name must have meaning
e) Data type conversion: 1, Automatic conversion condition data type to be compatible save smaller types of data to larger types of variable space
2. Coercion type conversion condition data type to be compatible the assignment of a cast syntax is required to store large types of data in a variable space of a smaller type
Syntax: target type variable name = (target type) data
f) Division and modulo operations of integers and integers in arithmetic operations: except 10 go to the bottom, modulo 10 takes the lowest
g) Variable and variable value exchange: The variable that needs to be inserted as an assignment in the two variables for which the intermediate value is exchanged as a copy receive value
h) Sort data type precision from "Bottom to High": byte<short<int<long<float<double (conversion of data type conversions results in loss accuracy)
Java Variable Additions