看String的API
今早上才看过
没记住
今早上才看过
没记住
解决方案 »
- 一个很有意思的问题,MyEclipse下可以正常运行,命令行中运行报错
- 红屏?
- BufferedImage类的createGraphcs2D()方法怎么用?
- 为什么这个会报错
- 有关Java的一些基础知识总结
- 求助一个关于StringBuffer类setLength()方法的问题
- 如何设置Swing控件不可用(即setEnabled(false))时的字体颜色?需要一个通用方法,急呀!!!!!!
- oracle的连接方式
- 如何在java Application窗体中嵌入其他应用程序,比如netlogo
- java关于Excel导入数据库问题
- 在看SCJP中的GUI Thread中repaint()时卡壳了,不太明白,哪位可以给小弟讲讲啊?
- 关于java中输入输出的问题!!!!!
m = m.toLowerCase();
2.String类型有toLowerCase()和toUpperCase()方法
public String toLowerCase()
Converts all of the characters in this String to lower case using the rules of the default locale. This is equivalent to calling toLowerCase(Locale.getDefault()). toUpperCase
public String toUpperCase()
Converts all of the characters in this String to upper case using the rules of the default locale. This method is equivalent to toUpperCase(Locale.getDefault()).