Question: 8. define the error in the following code: public class hello { int x= 10; static void method() { x=20 } } (1 Point) Enter

8. define the error in the following code: public class hello { int x= 10; static void method() { x=20 } } (1 Point) Enter your
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
