纯css打造立体时钟
  • 12
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
By_jie

014_运算符_字符串连接

一、字符串相连:加号两边只要有一个为字符串,则变为字符串连接符、整个结果为字符串!

二、程序示例测试代码:  

/**
 * [说明]:测试字符串连接
 * 
 * @author aeon
 */
public class TestWhile {
    public static void main(String[] args) {
        System.out.println(4+"5");
    }
}

测试结果截图:

  

 

posted @ 2018-10-20 21:55  1024军团  阅读(238)  评论(0编辑  收藏  举报