摘要:
CREATE TABLE TABLE_1(ID INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,// ID列为无符号整型,该列值不可以为空,并不可以重复,而且自增。NAME VARCHAR(5) NOT NULL)AUTO_INCREMENT = 1 阅读全文
摘要:
import java.io.File; public class FileSuffixDemo { public static void main(String[] args) { demo(new File(""),"txt"); //传txt后缀名到demo方法中 } public stati 阅读全文
摘要:
import java.io.File; public class deleDemo { public static void main(String[] args) { demo(new File("D:\\javaTest")); //demo2(new File("D:\\javaTest") 阅读全文
摘要:
以上会get到null值,究其原因,可以从get方法源码中找到答案。TreeMap集合中实现Map集合的get代码如下: public V get(Object key) { Entry<K,V> p = getEntry(key); return (p==null ? null : p.value 阅读全文