Question: 2- a) Identify and correct the errors in the below given program: class Myclass 1 { public static void main(String args[]) { int n-9; do

2- a) Identify and correct the errors in the below given program: class Myclass 1 { public static void main(String args[]) { int n-9; do System.out.println(n); if (n%2 = 0; { continue; while (n>=1) } } } b) Write the output from the above program (a) after corrected it
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
