Java JDK1.7新特性

1. 能夠用二進制表達數字 能夠用二進制表達數字(加前綴0b/0B),包括:byte, short, int, longjava // 能夠用二進制表達數字(加前綴0b/0B),包括:byte, short, int, long @Test public void testLiterals() { // An 8-bit 'byte' value: byte aByte = (by
相關文章
相關標籤/搜索