摘要: package 文件操作; import java.io.IOException;import java.io.File;import java.io.BufferedReader;import java.io.BufferedWriter;import java.io.FileReader;imp 阅读全文
posted @ 2018-07-03 19:44 才仁 阅读(56) 评论(0) 推荐(0) 编辑
摘要: package 事件监听;import java.awt.*;import java.awt.event.*; public class Frame2 extends Frame implements ActionListener{ private Button button1; public Fr 阅读全文
posted @ 2018-06-26 21:44 才仁 阅读(92) 评论(0) 推荐(0) 编辑
摘要: package 个人信息; import java.awt.*;public class Frame1 extends Frame { public Frame1 () { super("个人信息"); this.setSize(250,200); this.setLocation(800,600) 阅读全文
posted @ 2018-06-05 22:27 才仁 阅读(105) 评论(0) 推荐(0) 编辑
摘要: package 统计成绩;import java.util.Scanner;//输入输出函数定义public class Sum { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int 阅读全文
posted @ 2018-05-28 21:55 才仁 阅读(138) 评论(0) 推荐(0) 编辑
摘要: package 银行账户管理; import java.text.SimpleDateFormat; import java.util.Date; public class Cairen { private String _account; private String _name; private 阅读全文
posted @ 2018-05-01 20:47 才仁 阅读(143) 评论(0) 推荐(0) 编辑
摘要: ackage 类的抽象与封装; public class yuan { private double Radius; public double circle() { return Radius; } public void circle(double r) { Radius = r; } publ 阅读全文
posted @ 2018-04-24 21:32 才仁 阅读(104) 评论(0) 推荐(0) 编辑
摘要: public static void main(String[]args) { int r=6; int a[][]=new int[r+1][]; for(int i=0;i<=r;i++) { a[i]=new int[i+1]; } YangHui(a,r); } static void Ya 阅读全文
posted @ 2018-04-02 22:48 才仁 阅读(143) 评论(0) 推荐(0) 编辑
摘要: import java.util.Scanner; public class KnownTest { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println("输 阅读全文
posted @ 2018-04-02 21:12 才仁 阅读(118) 评论(0) 推荐(0) 编辑