摘要:
用一条语句输出:他是韩国人 String s = "我是中国人,你是日本人,他是韩国人,我们都是亚洲人"; System.out.println(s.substring(s.indexOf(",")+1). substring(s.substring(s.indexOf(",")+1). index 阅读全文
摘要:
电脑: package com.game2; public class Computer { String name; int score; public int showFist(){ int num = (int)(Math.random()*10) % 3+1; switch(num){ ca 阅读全文