• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
浅夏忆汐
博客园    首页    新随笔    联系   管理    订阅  订阅
2017年5月17日
计算器界面显示
摘要: import java.awt.*;public class LoginFrame { public static void main(String arg[]) { Frame f=new Frame ("计算器"); f.setLayout(new GridLayout(6,4)); //容器平 阅读全文
posted @ 2017-05-17 21:34 浅夏忆汐 阅读(190) 评论(0) 推荐(0)
2017年5月2日
完善3-2 Date类
摘要: public class MyDate { private int year,month,day; private static int thisYear; static { thisYear=2012; } public MyDate(int year,int month,int day) { t 阅读全文
posted @ 2017-05-02 17:34 浅夏忆汐 阅读(91) 评论(0) 推荐(0)
2017年3月27日
杨辉三角
摘要: package Yanghuisanjiao; public class Yanghuisanjiao { public static void main(String args[]) { int[][] b=new int [10][10]; for (int i=0; i<10; i++) { 阅读全文
posted @ 2017-03-27 23:18 浅夏忆汐 阅读(108) 评论(1) 推荐(0)
100以内的素数
摘要: package Sushu; public class Sushu {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){ System 阅读全文
posted @ 2017-03-27 23:16 浅夏忆汐 阅读(70) 评论(1) 推荐(0)
2017年3月20日
九九乘法表
摘要: 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:47 浅夏忆汐 阅读(66) 评论(1) 推荐(0)
博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3