040_字符串连接符 package test_package; /** * 字符串运算符 * @author * */public class TestOperator05 { public static void main(String[] args) { String a = "3"; int b = 4; int c = 5; char d = 'a'; System.out.println(a+b+c);//因为3是字符串,后面都是字符串连接 System.out.print…
发现一个很好玩的打印顺序 package com.liaojianya.chapter1; /** * This program demonstrates the string. * @author LIAO JIANYA * */ public class CTest { public static void main(String[] args) { int x = 5; int y = 6; System.out.println(x + y + 'a'); System.out.print…
原文:SQL SERVER FOR 多列字符串连接 XML PATH 及 STUFF 本来用 Writer 写一篇关于一列多行合并的博客来的,结果快写完了时候,在一个插入代码时候,崩了,重新打开,居然连草稿都没有……哎,我也是无语了…… 于是没有心情再写,直接发一下代码,再顺便留几个其他博文的链接 1.FOR XML PATH http://www.cnblogs.com/doubleliang/archive/2011/07/06/2098775.html 2.STUFF http://www…