Question: Evaluate the Java code snippet below, then motivate why this is representative of good programming pratices or not. public class pattern{ public static void main(string[]
Evaluate the Java code snippet below, then motivate why this is representative of good programming pratices or not.
public class pattern{
public static void main(string[] args){
int rows = 5;
for(int i = 1; i <= rows;++i){
for(int j=1;j<=l;++j){
system.out.print("*");
}
System.out.println();
}
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
