Page 2 of 2 FirstFirst 12
Results 21 to 23 of 23
  1. #21
    csuever is offline Member
    Join Date
    Mar 2011
    Posts
    13
    Rep Power
    0

    Default

    Ok, thank you. Sorry all this is still pretty new to me. I change it to :
    Java Code:
    public static  void main(String[] args) {
        Bowler l = new Bowler("Norm Duke","blah","bowl.txt");
    but what would be the correct way to call the helper methods computerScore and computerScoresheet into the Bowler(String name, String game, String f). Or a template to use for that.

  2. #22
    Solarsonic is offline Senior Member
    Join Date
    Mar 2011
    Posts
    261
    Rep Power
    4

    Default

    Quote Originally Posted by csuever View Post
    Ok, thank you. Sorry all this is still pretty new to me. I change it to :
    Java Code:
    public static  void main(String[] args) {
        Bowler l = new Bowler("Norm Duke","blah","bowl.txt");
    but what would be the correct way to call the helper methods computerScore and computerScoresheet into the Bowler(String name, String game, String f). Or a template to use for that.
    Java Code:
    Bowler l = new Bowler("Norm Duke","blah","bowl.txt");
    l.computeScore();
    l.computerScoreSheet();
    etc.

  3. #23
    csuever is offline Member
    Join Date
    Mar 2011
    Posts
    13
    Rep Power
    0

    Default

    Ok, thank you. And to everyone else that helped me. I still got some errors running but i'll try to figure them out. Don't want to annoy anyone else.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Proplem with reading txt-file into array //null
    By zenobiten in forum New To Java
    Replies: 8
    Last Post: 02-23-2011, 01:10 PM
  2. JSP/Ajax/Post giving null values
    By Mange in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 04-22-2010, 11:02 PM
  3. cant print 2d array(giving null values)
    By fneeks in forum New To Java
    Replies: 1
    Last Post: 04-07-2010, 09:48 PM
  4. Replies: 0
    Last Post: 03-31-2010, 06:18 AM
  5. Program can run but output all null
    By matt_well in forum New To Java
    Replies: 15
    Last Post: 07-24-2008, 09:48 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •