Question: $$ begin{array}{1} text { 1. Find out the error of the following code and correct it. } begin{array}{1} text { class Equals } W left{begin{array}{1}

 $$ \begin{array}{1} \text { 1. Find out the error of the

$$ \begin{array}{1} \text { 1. Find out the error of the following code and correct it. }\ \begin{array}{1} \text { class Equals } W \left\{\begin{array}{1} \text { public static void main(String [] args)} W { \text { int } \mathrm{x}=100; \text { double } \mathrm{y}=100.1 ; \ \text { boolean } \mathrm{b}=(\mathrm{x}=\mathrm{y}); / * \text { Line } 7 */ W \text { System.out.println(b); } \end{array} ight. W U} \quad\} \quad \end{array \end{array} $$ CS. JG. 18

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!