已采纳回答 / 慕粉swb
public class HelloWorld { public static void main(String[] args) { final char sex1 = '男'; final char sex2 = '女'; System.out.println(sex1+""+sex2); System.out.println(sex2); } }用这个就可以 不用string 。
2016-06-23
最赞回答 / 慕粉3547579
第一,单词拼写错误。把所有priotln替换为println第二,标点符号是中文的,比如分号和冒号第三,最后少了个花括号。完整代码为public class HelloWorld { public static void main(String[] args) { char today='日'; switch(today){ case'1': case'3': case'5': System.out.println("吃...
2016-06-22
最新回答 / VIC__
这个跟数据取读缓存机制有关。数据库缓存机制 缓存是介于应用程序和物理数据源之间,其作用是为了降低应用程序对物理数据源访问的频次,从而提高了应用的运行性能。缓存内的数据是对物理数据源中的数据的复制,应用程序在运行时从缓存读写数据,在特定的时刻或事件会同步缓存和物理数据源的数据。 其实你的学习进度已经完成了,担由于缓存原因,未能及时展现!等等就好。望采纳
2016-06-22
最新回答 / MaskTrueFeeling
public class HelloWorld{ public static void main(String[] args) { String hobby="慕课网"; System.out.println(hobby); }}这样会输出 慕课网 三个字直接System.out.println("慕课网"); 也是一样的结果
2016-06-22