Entries from 2020-02-20 to 1 day
下記をコードの周りに挿入するだけ <div class="code-title" data-title="xxx.java"> /* code is written here */ </div>
まー特に書くことないか?って思ってたけど一応SwitchがString型でもできるらしいのでメモしておく JDK7から使える あとは、byte, short, int, charが使えます。 public class Main { public static void main(String[] args) { char c = 'z'; switch(c) { c…