[填空题] 本题提取字符串“china is a great country.”中的前5个字符生成一个新的字符串,并将剩余字符组成另外一个新的字符串,最后将两个新的字符串连接输出。
public class java1
public static void main(String[] args)
String str="China is a great country.";
headstr=str. substring(______);
trailstr=str. substring(______);
System. out. println(headstr+trailstr)