Class Notes (839,483)
Canada (511,363)
COMP 249 (41)
Nagi Basha (40)
Lecture 11

COMP 249 Lecture 11: FileIO4

2 Pages

Computer Sci.
Course Code
COMP 249
Nagi Basha

This preview shows 80% of the first page. Sign up to view the full 2 pages of the document.
o t d e e n o n s i e r e h t e c n i s ; ) ( e n i L t x e n . c s e t a id2 = sc.nextLong(); s = sc.nextLine(); // just read the rest of the line so we can go to the next line id3 = sc.nextLong(); . m e t s y S out.println("\nHere are the first 3 IDs in that course: "); . m e t s y S out.println(id1); . m e t s y S out.println(id2); . m e t s y S out.println(id3); } } /* The Output Will read the input file and display the
More Less
Unlock Document

Only 80% of the first page are available for preview. Some parts have been intentionally blurred.

Unlock Document
You're Reading a Preview

Unlock to view full version

Unlock Document

Log In


Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Sign up

Join to view


By registering, I agree to the Terms and Privacy Policies
Already have an account?
Just a few more details

So we can recommend you notes for your school.

Reset Password

Please enter below the email address you registered with and we will send you a link to reset your password.

Add your courses

Get notes from the top students in your class.