Only one class in Java is allowed to use the public modifier;
The output parameters of the print () and printf () methods can only have one base data type, and to output multiple data, a single data should be synthesized;
%M.NF: The output floating-point type is the M-bit and the n digits are retained after the decimal point;
The remainder operation symbol depends on the symbol of the first operand, regardless of the second-digit operand.
The difference between >> and >>>:
(The high point of the value mentioned below refers to the first digit to the left when converting integers to the complement of the binary number)
>> after the right shift, leave the position with the original value of the high to fill.
>>> after the right shift, leave the position with the fill.
So when the original value is a positive number, whether it is >> or >>>,, are used to fill, the results of the two are no different. Only when the original
When the value is negative, the difference occurs.
about the declaration of an array :
int []a,b; A, B are all one-dimensional arrays
int a[],b; A is a one-dimensional array and B is an integer
int A[][],b//a is a two-dimensional array, B is an integer
int []a[],b//a is a two-dimensional array, B is a one-dimensional array
int [][]a,b//a,b are two-dimensional arrays
A.length is the number of rows in a two-dimensional array, and a[i].length is the number of elements of line I of a two-dimensional array
Access rights are only restrictions on domain or method access outside of the class body, and in the class, any method can directly access this class
There is no limit to the other fields or methods in the.
Java leackage Check