Question: 3. What does this program print after executing the following code? package javaapplication 47 ; public class JavaApplication 47 { public static void main(String[] args)
3. What does this program print after executing the following code? package javaapplication 47 ; public class JavaApplication 47 \{ public static void main(String[] args) \{ int x=5,y=9; if (y=8) if (x=5) System.out.println("@@@@,"); else System.out.println ("\#\#\#\#"); else System.out.println ("\$S\$S"); \} \} // output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
