[Solved] How does this program work. Im rookie in programming so please explain it in simplified way
So, the first line is a while-loop it keeps evaluating the statements in between the {} brackets if the condition x<4 is fulfilled. while ( x < 4 ) { Let’s assume x = 0 x<4 is a true statement so we enter the brackets: System.out.print(“a”); will print ‘a’ the next line if ( x … Read more