0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Java検定問題

Last updated at Posted at 2022-06-17
../

Java検定の問題を作ってみました。

問題1:

System.out.println("すき家".length());  	    // --> 3
System.out.println("𠮷野家".length());		// --> ???

問題2:

System.out.println(Integer.MAX_VALUE + 1);	// --> -2147483648
System.out.println(65536 * 65536);  		// --> ???

問題3:

System.out.println( 1 %  2);  				// -->  1
System.out.println(-1 %  2);				// --> -1
System.out.println( 1 % -2);				// -->  1
System.out.println(-1 % -2);				// -->  ???
../
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?