Horje
Square star pattern in java Code Example
Square star pattern in java
class squarePattern {
  public static void main(String[] args) {

    // size of the square
    int size = 5;
    // outer loop
    for (int i = 0; i < size; i++) {
      // inner loop
      for (int j = 0; j < size; j++) {
        System.out.print("*");
      }
      System.out.println();
    }
  }
}




Java

Related
Can we define package statement after import statement in java Code Example Can we define package statement after import statement in java Code Example
empty map entry java Code Example empty map entry java Code Example
colors java intell print Code Example colors java intell print Code Example
Java Regex : 4 Letters followed by 2 Integers Code Example Java Regex : 4 Letters followed by 2 Integers Code Example
check if list includes value java Code Example check if list includes value java Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
6