Search:

Type: Posts; User: NewbieJavaProgrammer

Search: Search took 0.08 seconds.

  1. Re: Need help with understanding a homework assignment, not asking for answers

    Could you explain this a little more please. I am having trouble with this idea. Just don't get it.

    Also do i have to use that in my program? or and if so, how would I given the code i have?
    ...
  2. Re: Need help with understanding a homework assignment, not asking for answers

    UPDATE: The code can run and terminate without errors: but no NEW file is created, so I believe the main problem is in the output located in the Main Method
  3. Re: Need help with understanding a homework assignment, not asking for answers

    Ok. so after reading a few posts online. I found a way to read the array and save into a file (at least i believe i did it correctly) but now i am receiving errors else where.

    Exception in thread...
  4. Re: Need help with understanding a homework assignment, not asking for answers

    I get an error in my For loop inside of my main


    for(int i = 0; i < extractedInfo.length; i++)
    {
    extractedInfo[i][0];
    }

    it says: Syntax error, insert "AssignmentOperator...
  5. Re: Need help with understanding a homework assignment, not asking for answers

    Ok. So after a few hours of work (and several peoples advice) i have come to this new code:


    import java.util.*;
    import java.io.*;

    public class Perser
    {
    /**
    * This is the main...
  6. Re: Need help with understanding a homework assignment, not asking for answers

    Ah yes that makes alot of sense. So even though the methods are PUBLIC, the variables in side of each are still only used within their respectied method. Unless called by something outside?
  7. Re: Need help with understanding a homework assignment, not asking for answers

    Thank you again for the help (the old C++ forums i used were filled with self centered people, who refused to even provide insight on homework). Ok so i have changed the layout to the above example,...
  8. Re: Need help with understanding a homework assignment, not asking for answers

    Wow. you guys are incredible. I really appreciate the time you have taken to helping me figure out this problem. I really like the layout provided above as well as the examples of the "Person" class....
  9. Re: Need help with understanding a homework assignment, not asking for answers

    Also he wants us to use the Tokenizer feature as well. again do not know how to implement that
  10. Re: Need help with understanding a homework assignment, not asking for answers

    Thank you for replying to my message.

    He has told us what a class is, what a constructor does, he told us ABOUT getters and setters, but i am very hazey on what exactly they do, and how to use...
  11. Need help with understanding a homework assignment, not asking for answers

    So i am brand new to Java and i am currently taking a class about it, but my problem is the teacher is awful, and i can not learn anything from him. He has given us a "simple" assignment around...
Results 1 to 11 of 12