Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

whats the errors in the following code and correct it please fast i need the answer its in java whats the errors and correct it

whats the errors in the following code and correct it please fast i need the answer

image text in transcribed
image text in transcribed
image text in transcribed
its in java
whats the errors and correct it please
i need this fast
image text in transcribed
image text in transcribed
image text in transcribed
added pics because it wasn't clear again
i need this fast in java
each question is in the paper image text in transcribed
image text in transcribed
image text in transcribed
=100 its just writen in arabic
SO 1] [r, 0 marks, ", Y, for detectling and ' for correcting per errer] eten krok-ception o) Question 3: What is the output of the following cede [PLO K1/ CLO 1/50 1] [3 marks] A) one 5/9 B) 6/9 Question r:: Find and correct the two errors in the following program: [PLO K/ /CLO / / SO 1] [r, marks, ,v for detecting and 1 for correcting per error] package wi=hinewerloxams Import Java. 10,3 publle elass wi=hingwedlexam f public statie vold main(string[] ares) string Ourwl sh... "Wo wish you ald an easy midterm exam" string wishers - "course Instructors team"; Fos. elose(): catch (IOException e) ( System.out-printin(e.retmessage()) try FileInputstream FIS = new FileInputstream("Exam wish.dat", true); Demp - DIS.readuTF(); now Datainputstream(FIS); Fis. ciose(): catch (IOtxception e) System.out.printzn(e-getmessage()); catch (FileNotFoundexception e) ) System-out.printin("the file can not be found please check the file name"): 3 A) B) A) Question r : Find and correct the two errors in the following program: [PLO K//CLO ] SO 1] [ r, marks,,v for detecting and for correcting per error] package wishingwel1examg impore java.10.. Public class WishingWellexam C public static void main(string[] ares) String Ourwish... "We wish you a11 an easy midterm exam": string wishers -" "Course Instructors team", try F1100utputstream FOS = New Fi1eOutputstream("Exam W1sh.dat- faxse): Dataoutputstream Dos DOs. Writeurf(OurWish): catch (IOException e) ( System.out.printin(e.getMessage()); try Filexnputstream FIS = new FileInputstream(" Exam wish.dat-, true); DataInputstream DIS = tomp is. Fiose(s: catch (IOException e) J System.out.printin(e.getMessage()): catch (FileNotFoundexception e) J System,out-printin("the file can not be found please check the file name"); System.out, printin(tempt ln+t\tt\t"++w1 shers+ ) : B)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Prepare an electronic rsum.

Answered: 1 week ago

Question

Strengthen your personal presence.

Answered: 1 week ago

Question

Identify the steps to follow in preparing an oral presentation.

Answered: 1 week ago