Created
March 8, 2015 04:48
-
-
Save ron623/cd93cb4239dd2895d5fe to your computer and use it in GitHub Desktop.
sitch_error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package test; | |
public class Test { | |
static Integer num; | |
public static void main(String[] args) { | |
switch (num) { | |
case 0: | |
System.out.println("0です"); | |
break; | |
case 1: | |
System.out.println("1です"); | |
break; | |
default: | |
break; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment