摘要: 1.程序代码 package shiyan14;import javax.swing.JFrame;import javax.swing.JLabel;import javax.swing.JPanel;public class SwitchTest {private JFrame jFrame;p 阅读全文
posted @ 2019-06-30 19:45 辰御 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 程序 package SYL; import java.awt.Container; import java.awt.FlowLayout; import javax.swing.*; class introduce extends JFrame { public introduce() { JFr 阅读全文
posted @ 2019-06-23 21:27 辰御 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 1程序 import java.awt.Container; import java.awt.FlowLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing 阅读全文
posted @ 2019-06-17 21:21 辰御 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 1.实验程序 package SYL2; import java.awt.*; import javax.swing.*; import java.awt.event.*; public class SYL extends Frame implements ActionListener{ publi 阅读全文
posted @ 2019-06-10 19:15 辰御 阅读(125) 评论(1) 推荐(0) 编辑
摘要: 1.程序 package DYL; import java.awt.Container; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.WindowConstants; public class D 阅读全文
posted @ 2019-06-03 09:28 辰御 阅读(478) 评论(0) 推荐(0) 编辑
摘要: 1.实验代码 package SYL; import java.util.Scanner; public class Point { static int x; static int y; Point(int x,int y){ Point.x=x; Point.y=y; } @SuppressWa 阅读全文
posted @ 2019-05-27 10:30 辰御 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 1.程序 package DYL; interface Area { public abstract double area(); } interface Volume { public abstract double volume(); } public class yuanzhui extend 阅读全文
posted @ 2019-05-20 08:23 辰御 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 1实验代码: package Students; public class Person { public String name; public String birthday; public String province,city; public int count; public Perso 阅读全文
posted @ 2019-05-06 21:04 辰御 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 1.、程序代码 package 类的封装; import java.util.Scanner; public class 银行账户类 { public int id; public int password; public int money; public String name;public 银 阅读全文
posted @ 2019-04-14 19:21 辰御 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 1.实验程序如下: public class shuzu { public static void main(String[] args) { int a[]= {11,22,5,9,8,79,42,51,13,69}; //从小到大进行排序 for(int j=0;j<10;j++) for(in 阅读全文
posted @ 2019-04-07 20:10 辰御 阅读(70) 评论(0) 推荐(0) 编辑