输出五行helloworld,输出每行五个helloworld

在Java中输出五行helloworld,输出每行五个helloworld


package Java20221205;

/**
 * ClassName: x55
 * date: 2022/12/5 11:38
 *
 * @author DingJiaxiong
 */
public class x55 {

    public static void main(String[] args) {

        for (int i = 0; i < 5; i++) {
            for (int j = 0; j < 5; j++) {
                System.out.print("Hello world  ");
            }
            System.out.println();
        }

    }

}

img