加载中...

摘要: 异常的处理方法之一:try-catch 阅读全文
posted @ 2021-08-14 10:48 nongeason 阅读(40) 评论(0) 推荐(0)
摘要: 测试StringBuildER、StringBuffer 阅读全文
posted @ 2021-08-14 10:46 nongeason 阅读(24) 评论(0) 推荐(0)
摘要: 测试包装类 阅读全文
posted @ 2021-08-14 10:46 nongeason 阅读(26) 评论(0) 推荐(0)
摘要: 测试String类 阅读全文
posted @ 2021-08-14 10:45 nongeason 阅读(32) 评论(0) 推荐(0)
摘要: /** 测试字符串类的基本用法 */ public class TestString { public static void main(String[] args) { String str1 = "abc"; String str2 = new String("def"); String str 阅读全文
posted @ 2021-08-14 10:44 nongeason 阅读(35) 评论(0) 推荐(0)
摘要: 面向过程和面向对象 面向过程:怎么按步骤实现? //适合简单任务,不需要过多协作的情况下 面向对象:怎么去设计出来? //适合开发大型软件(2w行代码以上) 解决简单问题可以使用面向过程 解决复杂问题:宏观上使用面向对象把握,微观上仍然是面向过程 对象Object 相当于内存块,包含了很多数据 对象 阅读全文
posted @ 2021-08-10 05:59 nongeason 阅读(64) 评论(0) 推荐(0)
摘要: 方法的定义 重载 递归 效率 阅读全文
posted @ 2021-08-06 05:59 nongeason 阅读(48) 评论(0) 推荐(0)
摘要: 位运算符 阅读全文
posted @ 2021-08-03 05:59 nongeason 阅读(57) 评论(0) 推荐(0)
摘要: if-else 阅读全文
posted @ 2021-08-01 06:00 nongeason 阅读(34) 评论(0) 推荐(0)
摘要: 1.Scanner 2.if 3.while 4.breal&continue 阅读全文
posted @ 2021-08-01 05:59 nongeason 阅读(119) 评论(0) 推荐(0)