This file contains hidden or 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
| I | |
| t | |
| s | |
| a | |
| v | |
| e | |
| r | |
| y | |
| l | |
| o |
This file contains hidden or 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
| thanks |
This file contains hidden or 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
| Hello, GistHunaClient! |
This file contains hidden or 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
| boolean isValid; |
This file contains hidden or 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
| loop1: | |
| for(int i = 0; i < 3; i++) { | |
| for(int j = 0; j < 5; j++) { | |
| if (j==3) { | |
| break loop1; | |
| } | |
| System.out.println("i=" + i + ", j=" + j); | |
| } | |
| } |
This file contains hidden or 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
| public static void main (String[] args) { | |
| int sum = 0; | |
| try (BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)) { | |
| while(sum == 0) { | |
| System.out.print("3桁の数値を入力してください: "); | |
| String line = reader.readLine(); | |
| for(int i = 0; i < line.length(); i++) { | |
| char ch = line.charAt(i); | |
| try { | |
| sum += Character.getNumericValue(ch); |
This file contains hidden or 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
| public class Test { | |
| public static void main(String[] args) { | |
| System.out.println("加算の結果は" + 3 + 2 + "です。"); | |
| } | |
| } |
This file contains hidden or 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 kata; | |
| public class fizzbuzz { | |
| public static void main(String[] args) { | |
| for (int i = 1; i <= 100; i++) { | |
| if(i % 15 == 0) { | |
| System.out.println("FizzBuzz!!!"); |
This file contains hidden or 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
| body{margin:0;padding:0} |
This file contains hidden or 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
| body{margin: 0 px;padding: 0 px;} |
NewerOlder