摘要:
String String 不是基本数据类型,Java中的所有字符串(例如"abc" )都被实现为此类的实例。 String对象是不可变的。 public boolean equals(Object anObject) public char charAt(int index) public int 阅读全文
posted @ 2022-03-27 22:05
h/hx
阅读(73)
评论(0)
推荐(0)
摘要:
基本类型包装类 将基本数据类型封装成对象。 用于基本类型和字符串之间的相互转换。 基本数据类型 包装类 byte Byte short Short int Integer long Long float Float double Double char Character boolean Boole 阅读全文
posted @ 2022-03-27 20:05
h/hx
阅读(97)
评论(0)
推荐(0)
摘要:
Math // 绝对值 System.out.println(Math.abs(-88)); // 88 // 向上取整 System.out.println(Math.ceil(12.34)); // 13.0 System.out.println(Math.ceil(12.56)); // 13 阅读全文
posted @ 2022-03-27 15:34
h/hx
阅读(87)
评论(0)
推荐(0)
摘要:
主题名字:silence 主题配置指南 cnblogs-theme-silence silence博客园主题 阅读全文
posted @ 2022-03-27 00:30
h/hx
阅读(68)
评论(0)
推荐(0)
摘要:
类结构 使用的时候,使用的是具体的类的对象。 阅读全文
posted @ 2022-03-27 00:25
h/hx
阅读(83)
评论(0)
推荐(0)

浙公网安备 33010602011771号