public class GOOD
{
public static void main(String[]args)
{
char[][] arr=new char[][]{{'k','u','r','t'},{'d','i','a','r','i','e','s'}};
for(int i =0;i<arr.length;i++)
{
for(int j=0;j<arr[i].length;j++)
{
System.out.print(arr[i][j]+"*");
}
System.out.println();
}
}
}
可以吗?
|