Results 1 to 12 of 12
  1. #1
    Cubba27 is offline Member
    Join Date
    Nov 2009
    Posts
    12
    Rep Power
    0

    Default Error Message????

    Hey all, i've got a bit of a problem. been putting together a program for a assignment and i got this error message... i have no clue to what its refering to. i'd rather not post my code as the assignment is assessed, and others on my course use this site.

    error message:

    line 25:
    loanMethod(double,double,double) in loanRepayment cannot be applied to () loanMethod();

    any help would be great, thanks :)

  2. #2
    ocean is offline Senior Member
    Join Date
    Sep 2009
    Location
    Sweden/Borås
    Posts
    107
    Rep Power
    0

    Default

    Will probly be hard without seeing you code. But mabey someone is good enougth. =)

  3. #3
    Cubba27 is offline Member
    Join Date
    Nov 2009
    Posts
    12
    Rep Power
    0

    Default

    CODE REMOVED:

    Code has been removed to stop plagiarism
    Last edited by Cubba27; 11-21-2009 at 03:48 PM.

  4. #4
    ocean is offline Senior Member
    Join Date
    Sep 2009
    Location
    Sweden/Borås
    Posts
    107
    Rep Power
    0

    Default

    What line is 25 ?

  5. #5
    Cubba27 is offline Member
    Join Date
    Nov 2009
    Posts
    12
    Rep Power
    0

    Default

    line 25: methodLoan();

    I feel like i'm missing something off it (well that much is obvious =]), not quite sure yet. =/

    program is incomplete though

  6. #6
    ocean is offline Senior Member
    Join Date
    Sep 2009
    Location
    Sweden/Borås
    Posts
    107
    Rep Power
    0

    Default

    Dont you need to add

    Java Code:
    methodLoan(something here?);

    But i should probly just be quiet, Im quite new to this.

  7. #7
    Cubba27 is offline Member
    Join Date
    Nov 2009
    Posts
    12
    Rep Power
    0

    Default

    nah, i think you're right i just can't think what i'm missing =/....

  8. #8
    ocean is offline Senior Member
    Join Date
    Sep 2009
    Location
    Sweden/Borås
    Posts
    107
    Rep Power
    0

    Default

    what happens if you

    Java Code:
    methodLoan(10,10,10);

  9. #9
    Cubba27 is offline Member
    Join Date
    Nov 2009
    Posts
    12
    Rep Power
    0

    Default

    compiles :), but needs a little more work i think... its just wouldn't accept my variables... :(

  10. #10
    Cubba27 is offline Member
    Join Date
    Nov 2009
    Posts
    12
    Rep Power
    0

    Default

    lol, i thinm i know why :). i havn't done any calculations with them :). THANKS it just clicked

  11. #11
    ocean is offline Senior Member
    Join Date
    Sep 2009
    Location
    Sweden/Borås
    Posts
    107
    Rep Power
    0

    Default

    Gratz. Hope it works out for you. Glad i could help.

  12. #12
    Cubba27 is offline Member
    Join Date
    Nov 2009
    Posts
    12
    Rep Power
    0

    Default Solved

    Problem Sloved!!!!! I had stupidly gotten my variables mixed up. But i've put them in order and all is well :D

Similar Threads

  1. Recursion with int and string error message
    By nicolek808 in forum New To Java
    Replies: 7
    Last Post: 09-14-2009, 10:30 AM
  2. Error Message in JBuilder
    By RavenNevarmore in forum New To Java
    Replies: 4
    Last Post: 10-08-2008, 07:53 AM
  3. strange Error message
    By little_polarbear in forum New To Java
    Replies: 4
    Last Post: 08-26-2008, 12:45 AM
  4. java error message
    By baileyr in forum New To Java
    Replies: 2
    Last Post: 01-23-2008, 04:47 AM
  5. error message on jsp
    By sandor in forum Web Frameworks
    Replies: 1
    Last Post: 04-11-2007, 03:10 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
  •