Question: Question 2 1 5 ptsif line of code have error, write down the line number, explanation error and correct code. For example: 4 . x
Question
ptsif line of code have error, write down the line number, explanation error and correct code. For example: x is not initialized before using, error to print x value int x is already declared, assign double value to int error syntax to print x value, should be System.out.println x is now x ; void method can not return value, change void to double
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
