怎么改会输出 student a am ipublic class daoxu {public static void main(String args[]){String str="I am a student";String[] str1=str.split(" ");String[] str2=str.split(" ");for(int i=0;i

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/26 08:42:16
怎么改会输出 student a am ipublic class daoxu {public static void main(String args[]){String str=
xݑOKAƿʰ]H躗NAè[ BaFJEHXt4;-?VNaw~ϼ!+wSzhLYE#ȧUb P˃ HeWGYH7L 3{m.jɔ.') 0#|uGJHJ ¢4HSr9ل!KOn5v1=p;]khKAmt[Rf:m6经'j>\$"x̺1`vskuUn(HSx+-`I|(jyZW׬uAX!GQ5_n

怎么改会输出 student a am ipublic class daoxu {public static void main(String args[]){String str="I am a student";String[] str1=str.split(" ");String[] str2=str.split(" ");for(int i=0;i
怎么改会输出 student a am i
public class daoxu {
public static void main(String args[]){
String str="I am a student";
String[] str1=str.split(" ");
String[] str2=str.split(" ");
for(int i=0;i

怎么改会输出 student a am ipublic class daoxu {public static void main(String args[]){String str="I am a student";String[] str1=str.split(" ");String[] str2=str.split(" ");for(int i=0;i
程序显得麻烦了.
String str="I am a student";
String[] str1=str.split(" ");//现在已经用空格分成四个了.
for(int i=3;i>=0;i--)//直接倒序输出数组
{
Console.WriteLine("{0} ",str1[i]) //占位符后面有个空格.
}