public static void main(String[] args) {
// Note: \u000A is Unicode representation of linefeed (LF)
char c = 0x000A;
System.out.println(c);
}
// Note: \u000A is Unicode representation of linefeed (LF)
char c = 0x000A;
System.out.println(c);
}
c是什么输出什么,c是换行
// Note:
is Unicode representation of linefeed (LF)
char c = 0x000A;
System.out.println(c);
}
当输出c的时候换行符就做为一个值.所以换两行.
http://forum.csdn.net/PointForum/SearchTopic.aspx?bigclassid=3d11cb76-8373-401d-9e9a-a6b24dd73eff&smallclassid=3931c03e-b66c-4189-a4f0-210fd9501803&searchtype=big&subject=&username=tteesstt&pb=pb