摘要: package MyDate; public class MyDate{ private int year,month,day; private static int thisYear; static { thisYear=2012; } public MyDate(int year,int mon 阅读全文
posted @ 2017-06-13 13:22 jsjljq 阅读(294) 评论(0) 推荐(0)
摘要: public class LoginFrame extends Frame{ public LoginFrame() { super("计算器"); this.setSize(200,300); this.setLocation(300,240); this.setBackground(Color. 阅读全文
posted @ 2017-06-13 13:12 jsjljq 阅读(122) 评论(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-28 16:55 jsjljq 阅读(468) 评论(2) 推荐(0)
摘要: public class YH { public static void main (String args[]){ int a[][]=new int[5][5]; int i,j ; for(i=0;i<5;i++){ for(j=0;j<5;j++){ a[i][0]=1; if(i==j) 阅读全文
posted @ 2017-03-27 23:19 jsjljq 阅读(336) 评论(1) 推荐(0)
摘要: public class Jiujiu 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+ 阅读全文
posted @ 2017-03-20 22:22 jsjljq 阅读(250) 评论(0) 推荐(0)