会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
柯南同学
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
5
6
7
8
9
2020年11月20日
Java(17):包装类
摘要: package DemoTest; public class IntegerTest { public static void main(String[] args) { Integer i1 = new Integer("123"); System.out.println(i1); Integer
阅读全文
posted @ 2020-11-20 01:01 柯南同学
阅读(90)
评论(0)
推荐(0)
2020年11月19日
Java(36):设计模式
摘要: 静态工厂模式: package shejimoshi; /* * 静态工厂模式(工厂模式) * * */ public class Demo1 { public static void main(String[] args) { // Restaurant r1 = new Fish(); // r
阅读全文
posted @ 2020-11-19 01:00 柯南同学
阅读(128)
评论(0)
推荐(0)
2020年11月16日
Java(32):内部类
摘要: package zzz; import zzz.Circle.Draw; public class innerClass { public static void main(String[] args) { Circle circle = new Circle(10); // 成员内部类创建方式必须
阅读全文
posted @ 2020-11-16 15:27 柯南同学
阅读(94)
评论(0)
推荐(0)
Java(31):序列化和反序列化
摘要: package zzz; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.i
阅读全文
posted @ 2020-11-16 12:25 柯南同学
阅读(85)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
公告