2018-04-09から1日間の記事一覧
以前、Javaのbyte型とint型との変換について勉強するために作成したテストコード。 public class TestByte { public static void main(String[] args) { // Test1 byte byteData = (byte) 0xC7; // 11000111 // If there is no "(byte)", 0xC7 is looked as …
以前、Javaのbyte型とint型との変換について勉強するために作成したテストコード。 public class TestByte { public static void main(String[] args) { // Test1 byte byteData = (byte) 0xC7; // 11000111 // If there is no "(byte)", 0xC7 is looked as …