What is the output of the following code?public void test(){boolean x=false;if(x = true){System.out.println(false);}else{System.out.println(true); }}
Reveal answer
Fill a bubble to check yourself
What is the output of the following code?public void test(){boolean x=false;if(x = true){System.out.println(false);}else{System.out.println(true); }}