I finally got it to run after reviewing it over and over... I'll print down what you have and compare it to mind when I return back to work on Monday... I know one of my problems was that I did not have my class file created, then there was another bookdata file that I created but did not change the drive to read from A.
I'm currently a junior at Davenport University and really have second thoughts about program.....

...
I have another program that's due so I'm working on that now.. I'll send you what I currently have it I have problems with that running.
Thanks for your time!
: : I had to do the same program for school-Malik/Nair Let me know if you get the program to run. I know when I did it I had to save my program on the a drive in order for it to work. There are other students in the class that no matter what they did the jsdk would not process the program and the program was correct. What school do you go to?
:
: Good Morning..I'm in the process of trying to run one of my progams that's due for class and I'm getting and error which I'm sure it's a typo on my behave, but I was wondering if someone could take a look at it:
: :
: : import java.io.*;
: : import java.util.*;
: :
: : public class program8
: : {
: : static BufferedReader keyboard = new
: : BufferedReader(new InputStreamReader(system.in));
: :
: : public static void main(String[] args) throws IOException,
: : FileNotFoundException
: : {
: :
: : Book[] books = new Book [100];
: :
: : for (int i= 0; i< 100; i++)
: : books [i] = new Book ();
: :
: : IntClass numberOfBooks = new IntClass();
: :
: : getBookData(books, numberOfBooks);
: : printBookData (books, numberOfBooks.getNum ());
: : }
: : public static void getBookData(Book[] books, IntClass noOfBooks) throws IOException, FileNotFoundException
: : {
: :
: : String title;
: : String ISBN;
: : String Publisher;
: : int PublishYear;
: : String [] auth = new String [4];
: : double cost;
: : int copeis;
: : int authorCount;
: :
: : int i, j;
: : BufferedReader infile = new
: : BufferedRearder (new FileReader ("a:\\bookData.txt"));
: :
: : StringTokenizer tokenizer;
: :
: : noOfBooks.setNum(Integer.parsenInt(infile.readLine()));
: :
: : for ( i= 0; i < noOfBooks.getNum(); i++)
: : {
: : title = infile.readLine ();
: : ISBN = infile.readLine ();
: : Publisher = infile.readLine();
: : PublishYear = Integer.parseInt(infile.readLine());
: : cost = Double.parseDouble(infile.readLine());
: : copies = Integer.parseInt (infile.readLine());
: : authorCount = Integer.pareseInt(infile.readLine());
: :
: : for(j=0; J < authorCount; j++)
: : auth[j] = infile.readLine();
: :
: : books[i].setBookInfo(title, ISBN, Pubolisher, PublishYear, auth, cost, copies,authorCount);
: : }
: : }
: : public static void printBookData (Book [] books, int noOfBooks)
: : {
: : int i;
: :
: : for (i = 0; i < noOfBooks; i++)
: : {
: : books [i].printInfo();
: : System.out.println("\n ------------------------------------------");
: :
: : }
: :
: : }
: : }
: :
: :
:
: