Search:

Type: Posts; User: anonb

Search: Search took 0.56 seconds.

  1. Replies
    6
    Views
    1,698

    Re: Need Help Fast - Please Help in Java ArrayList

    I have been debugging. I have been using system.out.println to see what the file is reading and that is how i kow it is reading the entire file. However, it looks as if it is just reading line by...
  2. Replies
    6
    Views
    1,698

    Re: Need Help Fast - Please Help in Java ArrayList

    Also, when you mentioned:
    Use a debugger or add some debug statements to your code such as read the file token into a String, and then print it out with a println statement immediately after...
  3. Replies
    6
    Views
    1,698

    Re: Need Help Fast - Please Help in Java ArrayList

    public class arrayl {
    public static void main(String args[] ) throws FileNotFoundException
    {
    System.out.println("Please enter title of book: ");
    Scanner input = new...
  4. Replies
    6
    Views
    1,698

    Need Help Fast - Please Help in Java ArrayList

    I am trying to store a file into an ArrayList and then have user input from console search for an element in the Arraylist and return found or not. It keeps giving me -1.



    import java.io.File;...
Results 1 to 4 of 4