Question: There are five mistakes in the following code snippet. Find the mistakes and correct them. String greeting= Hello, World!; int width@1=8.0; String greeting= Mississippi; System.out.println(greeting.length()+5)
There are five mistakes in the following code snippet. Find the mistakes and correct them.
String greeting= Hello, World!;
int width@1=8.0;
String greeting= Mississippi;
System.out.println(greeting.length()+5)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
