Results 1 to 4 of 4
  1. #1
    Teclis is offline Member
    Join Date
    Mar 2011
    Posts
    48
    Rep Power
    0

    Default Creating a second method in java

    Java Code:
      public static int readGroup(Scannner scan, boolean DEBUG,
                                   + double[] gpaArr,
                                   + String SENT, double minGpaAll,
                                   + double maxGpaAll
                                   + DecimalFormat fmt)
       {
    how would I make this work? I'm not allowed to go over 80 characters per line, so I dont really know how I will make all of this fit. I can't do it like a println and just + everything, like I just now found out.

    Please, and thank you.

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,309
    Blog Entries
    1
    Rep Power
    32

  3. #3
    Petr's Avatar
    Petr is offline Senior Member
    Join Date
    Jan 2011
    Location
    Russia
    Posts
    620
    Rep Power
    10

    Default

    So You don't point what you want to make.
    Where did you find this syntax?
    Skype: petrarsentev
    http://TrackStudio.com

  4. #4
    Teclis is offline Member
    Join Date
    Mar 2011
    Posts
    48
    Rep Power
    0

    Default

    Ah, I forgot a comma after gpaMaxAll and thats what threw it off.

Similar Threads

  1. Creating a 'turn' method
    By StateofMind in forum New To Java
    Replies: 6
    Last Post: 11-27-2012, 10:36 AM
  2. Creating a main method?
    By Brainz in forum New To Java
    Replies: 12
    Last Post: 11-16-2010, 10:56 AM
  3. Which method is best for creating Threads?
    By makpandian in forum Threads and Synchronization
    Replies: 11
    Last Post: 06-08-2009, 08:00 AM
  4. Creating a GUI - which method
    By matpj in forum New To Java
    Replies: 3
    Last Post: 01-15-2009, 04:40 PM
  5. Creating a new equals() method help
    By Dave0703 in forum New To Java
    Replies: 2
    Last Post: 09-21-2008, 05:32 PM

Posting Permissions

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