MCPcopy Create free account
hub / github.com/Manvityagi/PW-Skills-Java-Course-Codes / main

Method main

Lecture 08_Loops_1/src/Main.java:2–13  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

1public class Main {
2 public static void main(String[] args) {
3 System.out.println("Hello world!");
4 for(int i = 1; i <= 4; i++){
5 for(int j = 1; j <= 4-i; j++){
6 System.out.print(" ");
7 }
8 for(int k = 1; k <= 2 * i - 1; k++){
9 System.out.print("*");
10 }
11 System.out.println();
12 }
13 }
14}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected