摘要: 一、String 1. String类的常用方法 1.1. 返回当前字符串中给定位置的字符: char charAt(int index) 1.2. 返回给定字符串在当前字符串中的位置: int indexOf(String str) 1.3. 返回当前字符串的长度: int length() 1. 阅读全文
posted @ 2021-02-16 20:39 鬼在飘 阅读(23) 评论(0) 推荐(0)