Java charAt() 方法
Java 教程
· 2019-02-08 19:13:40
charAt() 方法用于返回指定索引处的字符。索引范围为从 0 到 length() - 1。
语法
public char charAt(int index)
参数
index -- 字符的索引。
返回值
返回指定索引处的字符。
实例
public class Test {
public static void main(String args[]) {
String s = "www.codercto.com";
char result = s.charAt(8);
System.out.println(result);
}
}
以上程序执行结果为:
o
点击查看所有 Java 教程 文章: https://www.codercto.com/courses/l/12.html
Producing Masculinity
Michele White / Routledge / 2019-3 / $39.95
Thoughtful, witty, and illuminating, in this book Michele White explores the ways normative masculinity is associated with computers and the Internet and is a commonly enacted online gender practice. ......一起来看看 《Producing Masculinity》 这本书的介绍吧!
SHA 加密
SHA 加密工具
RGB CMYK 转换工具
RGB CMYK 互转工具