Question: What is the output of this code? static void printAsterisk() { 11*****11 //System.out.println(' //System.out.println(' 11***** *'); //System.out.println(****** {); //System.out.println( //System.out.println( **); 11*****!! 11*****! } }

What is the output of this code? static void printAsterisk() { 11*****11 //System.out.println(' //System.out.println(' 11***** *"'); //System.out.println("****** {"); //System.out.println(" //System.out.println(" **"); 11*****!! 11*****! } }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
