1.mah.ceil () * Returns the smallest (closest to negative infinity) * {@code Double} value, is greater than or Equal to the * argument and are equal to a mathematical integer. Special cases: * If The argument value is already equal to a * mathematical integer and then the result is the same a s the * argument. If The argument is a NaN or an infinity or * positive zero or negative zero and then the result is the same as * the AR Gument. If The argument value is less than zero and greater than-1.0, then the result is negative zero. Note * that the value of {@code Math.ceil (x)} is exactly the * value of {@code-math.floor (-X)}.2.i= i ++;3. Integer a = 5; Long B = 5L; Double C = 5.0; System.out.print (A.equals (b)); System.out.print (A==C); byte d = (byte) 128; byte e = 128;//error4. Java is Unicode-encoded, with 2 bytes per character, both Chinese and English characters. The string s is decomposed into a byte array in its own encoding, and the byte array is re-encoded as a string in the encoding you want to output. Example: String newutf8str = new String (OLDGBKstr.getbytes ("GBK"), "UTF8"); Java virtual machines usually use UTF-16 to save a character resourcebundle can be based on the different local, selective reading with the local suffix of the properties file, in order to achieve internationalization purposes.
Java small knowledge point record