摘要: 1FCTL(fyzzy computation temporal logic) 阅读全文
posted @ 2019-11-24 11:36 小兔叽兔叽 阅读(66) 评论(0) 推荐(0) 编辑
摘要: 1.实现窗口事件监听器窗口 2.执行关闭窗口时执行的事件处理方法 import java.awt.*; import java.awt.GridLayout;import java.awt.event.WindowEvent;import java.awt.event.WindowListener; 阅读全文
posted @ 2017-06-13 16:06 小兔叽兔叽 阅读(155) 评论(0) 推荐(0) 编辑
摘要: import java.awt.*; 1.实现简单的计算器界面 2.用到布局管理器中的一些常用的,如GridLayout,FlowLayoutpublic class LoginFrame extends Frame{ public LoginFrame() { super("计算器"); this 阅读全文
posted @ 2017-05-16 22:00 小兔叽兔叽 阅读(173) 评论(1) 推荐(0) 编辑
摘要: package MyDate;public class MyDate{ private int year,month,day; private static int thisYear; static { thisYear=2012; } public MyDate(int year,int mont 阅读全文
posted @ 2017-05-02 17:04 小兔叽兔叽 阅读(223) 评论(1) 推荐(0) 编辑
摘要: public class 杨辉三角{ public static void main(String[] args) { int a[][]=new int[10][10]; int i,j; for(i=0;i<10;i++){ for(j=0;j<=i;j++){ a[i][0]=1; if(i= 阅读全文
posted @ 2017-03-28 17:36 小兔叽兔叽 阅读(94) 评论(0) 推荐(0) 编辑
摘要: public class S { public static void main(String[] args){ int i=1; do{ int j=2; while(j<i){ if(i%j==0) break; j++; } if(j==i){ Sysem.out.printf(i); } i 阅读全文
posted @ 2017-03-20 23:16 小兔叽兔叽 阅读(54) 评论(0) 推荐(0) 编辑
摘要: public class MultiTable{ public static void main(String[] args) { for(int i= 1;i<=9;i++){ for(int j=1;j<=i;j++) System.out.println(" "+i+"*"+j+"="+i*j 阅读全文
posted @ 2017-03-20 22:39 小兔叽兔叽 阅读(86) 评论(0) 推荐(0) 编辑