Question: Given the code above: Find the errors (either compile or run-time error) so that you have the same output listed above then state the type

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.

  1. After you fixed the errors, rewrite the Java code using your name.

  1. Show a screenshot of the output (if there is no screenshot of the output, the student shall get a zero mark for this question).

Given the code above: Find the errors (either compile or run-time error)

so that you have the same output listed above then state the

X F CS140 - Assignment 1 Question ( 1 ) - Word ( ) ... tairriasalehi20@gmail.com T | ( : - 1 Table T... 1 Table T... T4 = = - - - - - - A - Aa A A - Arial 2 - - - - = = = = = - B - aba aly - Axx, abe-UIB * 11111 Outcome(s): Question Three public class Students { public static void main(String[] args) { Explain the basic principles of programmirring, concept of language. Universal constructs of programming languages. String s1 - "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", "CS140")); System.out.print(" "); System.out.println(s2.toLowerCase()); System.out.print(8 + 8); System.out.print(""); System.out.println(s1.length(5)); C } 100 % + = VW - ( 01:15 ENG ** a : WE e E ET-1T X F tairriasalehi20@gmail.com CS140 - slgrmment 1 GueFkon ( 1 ) - Ward ( ) ... T4 = = - - - - - - A - Aa A A - 17 - Arial 2 : I - aba : - T | A A : -- = = = = = - - - - aly - Axx, abe-U I B Table T... Table T... * Error number Error Type 1 System.out.print(s1); Compile- time error 2 3 4 5 100 % + = 1 VW ( ) = 07 : 1F ENG ** a 0) WE e ET/1T1 E

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!