3. Java operators
Monocular multiplication is the relationship, and the logic is assigned after three eyes.
Monocular: monocular operator +– (negative) + +--! such as
Multiplication: Arithmetic monocular operator */% +-
As: Displacement monocular operator << >>
Relationships: Relational Monocular operators > < >= <= = = = =
Logic: Logical Monocular operators && | | & | ^
Trinocular: Three mesh single-mesh operators a > B? X:y
After: Meaningless, just to make up the number of words
Assignment: Assigned value =
For example 1&2 ==3 first operation 2==3 again with 1 and so need (1&2) = = 3
<<: 0 -2<<1-4 2<<1 4
>>: If the sign bit is positive, insert 0 at the highest bit and if the sign bit is negative, insert 1-2>>1-1 2>>1 1 at the highest bit
>>>: Both positive and negative, insert 0 at the highest bit
4. Java Control statements
Conditional Structure If...else switch case
Loop structure for (;;) {} while () {} do{}while ()
5. Java Method Transfer parameter
Http://www.cnblogs.com/maydow/p/4460900.html
JAVA SE Basics Review-Basic program Design (2)