Question: the 2 photos are one Question ,please answer it by computer not by handwriting. thank you public class Students { public static void main(String[] args)

 the 2 photos are one Question ,please answer it by computer

not by handwriting. thank you public class Students { public static void

the 2 photos are one Question ,please answer it by computer not by handwriting.

thank you

public class Students { public static void main(String[] args) { String si = "Java Programming"; String s2 = "at seu"; String s3 - "Type your name"; System.out.print(81); System.out.print(" "); System.out.println(s2.toUpperCase()); System.out.println(83); System.out.println("This is my first Assignment") System.out.println("+++++++++"); System.out.print(s1.replace("java", "C8140")); System.out.print(" "); System.out.println(s2.toLowerCase()); System.out.print(8 + 8); System.out.print(" = "); System.out.println(s1.length(5)); } } Program Run: Output - Students (run) run: Java Programming AT SEU My name is Mohammed F. Ali! This is my first Assignment +++++++++ CS140 Programming at seu 8 + 8 = 16 Given the code above: 1. Find the errors (either compile or run-time error) so that you have the same output listed above then state the type of the error. 2. After you fixed the errors, rewrite the Java code using your name. 3. Show a screenshot of the output (if there is no screenshot of the output, the student shall get a zero mark for this question). Error numbe Error Type 1 System.out.print(S1); Compile- time error N 3 4 5

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!