Search:

Type: Posts; User: Wallatrix

Search: Search took 0.17 seconds.

  1. Re: Word Guess program with a Null Pointer Exception

    Yes, I know that it points to a null value, but I cannot figure out why dashWord would have a null value.
  2. Word Guess program with a Null Pointer Exception

    Hello,

    I keep receiving the Null Pointer Exception error in my code and I am not sure how to fix it. The program I am working on is a Word Guess program that is kind of like jeopardy. I am coding...
  3. Re: How to read a String .dat file into an array

    Oh, okay! I see now. Major brain fart there.
  4. Re: How to read a String .dat file into an array

    I can define the array and I can read a word from the file, but I don't know how to assign said word to a slot in the array or making the loop that will enclose the reading and assigning steps. Well,...
  5. How to read a String .dat file into an array

    Hello,

    I am tasked with coding a program that allows the user to guess a randomized word from an array with 10 slots. The pre-chosen words are stored in a wordguess.DAT file and must be imported...
  6. Thread: File I/O

    by Wallatrix
    Replies
    5
    Views
    277

    Re: File I/O

    Hello,

    I have managed to fix this code. I changed the formatting of the pw.println so that it works. The main problem I was having was that I had initialized the PrintWriter and the...
  7. Thread: File I/O

    by Wallatrix
    Replies
    5
    Views
    277

    Re: File I/O

    I have no idea what API doc means or anything.
  8. Thread: File I/O

    by Wallatrix
    Replies
    5
    Views
    277

    File I/O

    Hello everyone,

    I am in my 2nd term of Computer Software Development and I am nearing the end of my first Java class. My teacher has assigned a 2-part Java program called "Save the Barns". The...
Results 1 to 8 of 8