摘要:
###1.DCL 数据控制语言 1.创建用户:create user'zhansan'@'localhost' identified by '888666'; 2.授权用户:grant all on test.*to'zhansan'@'localhost'; 3.刷新权限:flush privil 阅读全文
摘要:
/** * 集合遍历删除元素的方法 */ public class DeleteList { public static void main(String[] args) { //创建集合 ArrayList<String> list = new ArrayList<>(); list.add("m 阅读全文
摘要:
/** *物体的碰撞检测方法 */ public class Aoo { protected int wideth; //对象的宽 protected int heigth; //对象的高 protected int x; //对象的X坐标 protected int y; //对象的X坐标 pub 阅读全文
摘要:
/** * 需求:设计一个方法用于获取数组中元素的最大值 */ public class ArryDemo { public static void main(String[] args) { int[] arr = {23,30,52,56,89,568,123,2365,325}; int ma 阅读全文