Java leackage Check

Source: Internet
Author: User

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

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.