摘要:
代码一 package com.itheima_02; public class App{ public static void main(String[] args) { PictureFrame pf=new PictureFrame(); } } 代码二 package com.itheima 阅读全文
摘要:
代码1 package com.itheima_02; public class App{ public static void main(String[] args) { PictureFrame pf=new PictureFrame(); } } 代码2 package com.itheima 阅读全文
摘要:
--从0开始查询,查询3条数据; SELECT * from stu LIMIT 0,3; --每页显示3条数据,查询第1页的数据; SELECT * from stu LIMIT 0,3; --每页显示3条数据,查询第2页的数据; SELECT * from stu LIMIT 3,3; --每页 阅读全文
摘要:
package com.itheima04; import javax.swing.*; public class UserLoginFrame extends JFrame { public UserLoginFrame() { //窗体初始化 initframe(); //绘制窗体 paintV 阅读全文
摘要:
package com.itheima03; /* 手机javabean alt+insert(fn)根据自己的选择生成想要的内容 */ public class Phone { private String brand; private int price; public Phone() { } 阅读全文
摘要:
package com.itheima03; public class Student { private String name; private int age; public Student(){}; public void setName(String name) { this.name = 阅读全文
摘要:
package com.itheima02; public class Student { private String name; private int age; //构造方法 // public Student(){ // System.out.println("无参构造方法"); // } 阅读全文
摘要:
package com.itheima02; public class Student { private String name; private int age; //构造方法 public Student(){ System.out.println("无参构造方法"); } public vo 阅读全文
摘要:
![image](https://img2022.cnblogs.com/blog/2426413/202211/2426413-20221113160646433-1616498360.png) ![image](https://img2022.cnblogs.com/blog/2426413/202211/2426413-20221113160655235-104567080.png) 阅读全文
摘要:
--统计班级一共有多少个学生 select * from stu; SELECT count(id) from stu ; --count统计的列名不能为空 --查询数学成绩的最高分 SELECT max(math) from stu ; --查询数学成绩的最低分 SELECT min(math) 阅读全文