上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 46 下一页

2023年12月20日

Java8时间API

摘要: https://www.pdai.tech/md/java/java8/java8-localdatetime.html 阅读全文

posted @ 2023-12-20 18:38 anpeiyong 阅读(6) 评论(0) 推荐(0)

TimeZone

摘要: 概述 <code>TimeZone</code> represents a time zone offset, and also figures out daylight savings. Typically, you get a <code>TimeZone</code> using <code> 阅读全文

posted @ 2023-12-20 17:04 anpeiyong 阅读(52) 评论(0) 推荐(0)

DateFormat&SimpleDateFormat

摘要: DateFormat 概述 {@code DateFormat} is an abstract class for date/time formatting subclasses which formats and parses dates or time in a language-indepen 阅读全文

posted @ 2023-12-20 15:48 anpeiyong 阅读(47) 评论(0) 推荐(0)

Date

摘要: 概述 The class <code>Date</code> represents a specific instant in time, with millisecond precision. Date表示特定的时刻,以ms为单位; Prior to JDK1.1, the class <code 阅读全文

posted @ 2023-12-20 15:47 anpeiyong 阅读(23) 评论(0) 推荐(0)

Calendar

摘要: 概述 The <code>Calendar</code> class is an abstract class that provides methods for converting between a specific instant in time and a set of {@link #f 阅读全文

posted @ 2023-12-20 15:46 anpeiyong 阅读(50) 评论(0) 推荐(0)

2023年12月19日

System

摘要: 方法 数组相关 arraycopy Copies an array from the specified source array, beginning at the specified position, to the specified position of the destination a 阅读全文

posted @ 2023-12-19 11:26 anpeiyong 阅读(29) 评论(0) 推荐(0)

2023年12月12日

Object---clone方法

摘要: 概述 java.lang.Object#clone By convention, the returned object should be obtained by calling {@code super.clone}. If a class and all of its superclasses 阅读全文

posted @ 2023-12-12 17:38 anpeiyong 阅读(18) 评论(0) 推荐(0)

常量池_运行时常量池_字符串常量池

摘要: 常量池 常量池是在编译期间由 Java 编译器生成的一个数据结构; 存储了 类或接口中的所有字面量和符号引用。 这些信息包括但不限于: 字符串字面量 整型、浮点型、字符型等基本类型的字面量 类和接口的全限定名 字段名和描述符 方法名和描述符 方法和字段的访问标志 每个类文件都包含一个常量池,它是 c 阅读全文

posted @ 2023-12-12 16:44 anpeiyong 阅读(47) 评论(0) 推荐(0)

常用指令

摘要: javap 作用: 查看Java class文件的详细信息; 用法: javap <options> <classes> 其中, 可能的选项包括: -help --help -? 输出此用法消息 -version 版本信息 -v -verbose 输出附加信息 -l 输出行号和本地变量表 -publ 阅读全文

posted @ 2023-12-12 15:02 anpeiyong 阅读(13) 评论(0) 推荐(0)

2023年12月11日

常见概念

摘要: 虚方法与非虚方法 虚方法 面向对象编程中的一种概念; 它允许在继承关系中的子类重写(Override)父类的某个方法; 主要目的是实现多态性(Polymorphism),即允许不同的子类对象对同一消息作出不同的响应; 虚方法的主要特点和用途包括: 多态性:虚方法使多态成为可能,允许子类根据需要覆盖父 阅读全文

posted @ 2023-12-11 15:42 anpeiyong 阅读(48) 评论(0) 推荐(0)

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 46 下一页

导航