ITEC 120 LAB 18 Back to Lab index page

An array of objects

You will create an array of 10 textbooks. You'll search the array for a certain textbook.

You can use your Textbook.java file from labquiz4, or use this one: Textbook.java

In the Lab18.java (driver) file:

Run your program with 3 different input files: lab18in1.txt, lab18in2.txt, and lab18in3.txt. Here's sample output generated by lab18in1.txt: lab18out1.txt.

Once you have your program working, show your lab (by running it with each of the 3 input files) to the Peer Instructor to be checked off.