摘要:
数据库 1.操作数据库 CREATE DATABASE AAA--创建 DROP DATABASE AAA--删除 USE school--使用 2.创建表 CREATE TABLE if NOT EXISTS `tb_usear`( `id` INT NOT NULL AUTO_INCREMENT 阅读全文
摘要:
Stringbuffer 先创建一个对象,可以用append添加内容,用add追加。在指定位置添加用inisert,指定位置替换0,4即替换前三个字符,删除delete同理 package StringBuffer; public class Demo01 { public static void 阅读全文
摘要:
package StringchangeDemo; public class Demo2 { public static void main(String[] args) { Integer A = new Integer(100); Integer B = new Integer(100); Sy 阅读全文
摘要:
package exception; public class Test000 { public static void main(String[] args) { hhh(100);//方法内已经使用try,catch抛出捕获异常。直接使用方法就行。 } static void hhh(int a 阅读全文
摘要:
多态,强制类型转换,方法的重写 package DuoTai; public class Application { public static void main(String[] args) { // new Student(); // new Person(); //一个数据的实际类型是确定的 阅读全文