string output = "年" + "t\" + "复利存款" + " \r\n "; 它错在哪里啊?
来源:百度知道 编辑:UC知道 时间:2024/09/23 05:10:33
\t 吧,不是 t\,转义字符
你的t\ 写错了,应该为\t
string output = "年" + "\t" + "复利存款" + " \r\n "; 它错在哪里啊?
"\t"
好像用+不正确, string output ="年\t复利存款 \r\n";
String str=null;
string s=null与string s=""
String str1=new String("abc");
关于String str=new String("123");
String myaction = mapping.getParameter();
String a=new String();什么时候用到,一般不就是String a 吗?
中行笔试题:String s=new String("xyz")创建了几个String对象
请问java里string xxx和string xxx=new string的几个问题?
Input & Output
String s="你好"和String str=new String("你好")有什么区别?