java - 字符串和文本IO.pptVIP

  • 4
  • 0
  • 约5.89千字
  • 约 24页
  • 2016-12-10 发布于北京
  • 举报
java - 字符串和文本IO

YANGLIN@BNUITC Java程序设计 第8章 字符串和文本I/O Evaluation only. Created with Aspose.Slides for .NET 3.5 Client Profile . Copyright 2004-2011 Aspose Pty Ltd. 学习目标 掌握String类处理固定长度的字符串 了解Character类处理单个字符 掌握StringBuffer类处理可变长度字符串 使用File类处理文件 使用PrintWriter类向文件写数据 使用Scanner类从文件读数据 Evaluation only. Created with Aspose.Slides for .NET 3.5 Client Profile . Copyright 2004-2011 Aspose Pty Ltd. String类 java.lang.String表示一个固定长度的字符序列。 构造函数 长度length 获取字符charAt 连接concat 截取substring 比较equals, equalsIgnoreCase, compareTo, startWith, endWith, regionMatch 转换toLowerCase, toUpperCase, trim, replace 查找indexOf, lastIndexOf 字符

文档评论(0)

1亿VIP精品文档

相关文档