黑马程序员技术交流社区
标题:
50道经典程序之46
[打印本页]
作者:
_sunrain
时间:
2015-7-21 21:37
标题:
50道经典程序之46
题目:两个字符串连接程序
public class Prog46{
public static void main(String[] args){
String str1 = "lao lee";
String str2 = "牛刀";
String str = str1+str2;
System.out.println(str);
}
}
复制代码
欢迎光临 黑马程序员技术交流社区 (http://bbs.itheima.com/)
黑马程序员IT技术论坛 X3.2