Answered step by step
Verified Expert Solution
Question
1 Approved Answer
$$ 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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started