StupidBeauty
Read times:616Posted at:Wed Mar 6 15:58:24 2013
- no title specified

转载在Java里判断字符串是否相等

判断字符串内容是否相同时,使用String.equals(String)方法。

http://www.webkaka.com/blog/archives/how-to-compare-strings-if-they-are-same.html

亮点:

在Java中,如果要比较a字符串是否等于b字符串,需要这么写:

if(a.equals(b)){

}

返回true或false

韓國世紀拖手

Your opinions
Your name:Email:Website url:Opinion content:
- no title specified

HxLauncher: Launch Android applications by voice commands

 
Recent comments
2017年4月~2019年4月垃圾短信排行榜Posted at:Thu Sep 26 04:51:48 2024
Qt5.7文档翻译:QWebEngineCookieStore类,QWebEngineCookieStore ClassPosted at:Fri Aug 11 06:50:35 2023盲盒kill -9 18289 Grebe.20230517.211749.552.mp4