上一页 1 2 3 4 5 6 ··· 16 下一页
摘要: package com.itheima.d7_genericity; import java.util.ArrayList; import java.util.List; /** 目标:泛型的概述。 什么是泛型? 泛型就是一个标签:<数据类型> 泛型可以在编译阶段约束只能操作某种数据类型。 注意: 阅读全文
posted @ 2022-06-29 23:09 还有什么值得拥有 阅读(25) 评论(0) 推荐(0) 编辑
摘要: package com.ITheima.Collection; import java.util.ArrayList; /** 目标:ArrayList集合。 Collection集合的体系 Collection<E>(接口) / \ Set<E>(接口) List<E>(接口) / \ / \ \ 阅读全文
posted @ 2022-06-29 22:22 还有什么值得拥有 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 我的理解是 栈就是一个杯子 只有一个口 向放进去的物品在最底下 后放进去的在上面 拿出来的时候 上面的物品(后放的)先拿出来 我的理解是队列 就是一个竹筒(两头都是空的) 一段是前端(出队列) 一段是后端(入队列) 数组 链表 二叉树 阅读全文
posted @ 2022-06-29 22:21 还有什么值得拥有 阅读(17) 评论(0) 推荐(0) 编辑
摘要: package com.ITheima.Collection; import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; /** * 目标:明确Collection 集合体系的特点 */ pu 阅读全文
posted @ 2022-06-29 21:41 还有什么值得拥有 阅读(20) 评论(0) 推荐(0) 编辑
摘要: package com.itheima.d5_integer; /** 目标:明白包装类的概念,并使用。 */ public class Test { public static void main(String[] args) { int a = 10; Integer a1 = 11; Inte 阅读全文
posted @ 2022-06-29 11:32 还有什么值得拥有 阅读(16) 评论(0) 推荐(0) 编辑
摘要: Date类 package com.ITheima.API_Object; import java.util.Date; /** * 目标:学会使用Date类处理时间,获取时间的信息 */ public class Test9 { public static void main(String[] a 阅读全文
posted @ 2022-06-28 22:06 还有什么值得拥有 阅读(29) 评论(0) 推荐(0) 编辑
摘要: package com.ITheima.API_Object; public class Test6 { public static void main(String[] args) { //1 Math.abs(num) 去绝对值 返回整数 System.out.println(Math.abs( 阅读全文
posted @ 2022-06-28 14:14 还有什么值得拥有 阅读(33) 评论(0) 推荐(0) 编辑
摘要: Student类 (重写toString() ,equals()) package com.ITheima.API_Object; import java.util.Objects; public class Student { private String name; private char s 阅读全文
posted @ 2022-06-28 11:34 还有什么值得拥有 阅读(15) 评论(0) 推荐(0) 编辑
摘要: USB 接口 package com.ITheima._polymorphic_test; public interface USB { void connect(); void unconnect(); } View Code KeyBoard键盘类 package com.ITheima._po 阅读全文
posted @ 2022-06-26 16:08 还有什么值得拥有 阅读(4) 评论(0) 推荐(0) 编辑
摘要: Animal类 package com.ITheima._polymorphic; public abstract class Animal { public String name="父类动物"; public abstract void run(); } View Code Dog类 packa 阅读全文
posted @ 2022-06-26 00:03 还有什么值得拥有 阅读(13) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 16 下一页