Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Page 2 of 2 FirstFirst 12
Results 26 to 32 of 32

Thread: Error of "cannot find symbol"

  1. #26
    Junior Member
    Join Date
    Apr 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: fixing these two errors

    Awesome lol what about the print line for the calculator class? That way if the input yields a result with
    More than 2 decimal places it will round off to the hundredths

  2. #27
    Member
    Join Date
    Apr 2009
    Posts
    31
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Re: fixing these two errors

    thanks for your guys help. i think i finally understand if statements this class is the toughest class i am in and thank godness its the only programming class i have to take :-D. this is quite the learning adventure i am on.

  3. #28
    Member
    Join Date
    Apr 2009
    Posts
    31
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Re: fixing these two errors

    i think we can put this one in the solved files

  4. #29
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 294 Times in 227 Posts
    Blog Entries
    4

    Default Re: fixing these two errors

    Quote Originally Posted by big_c View Post
    thanks for your guys help. i think i finally understand if statements this class is the toughest class i am in and thank godness its the only programming class i have to take :-D. this is quite the learning adventure i am on.
    Cool. Don't worry, you'll pick up Java in no time!

    We are always here to help
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

  5. #30
    Junior Member Jchang504's Avatar
    Join Date
    Nov 2008
    Posts
    28
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default Re: fixing these two errors

    That is because there actually is no method getPay()? I'm not sure. I'm a beginner myself. But note that you can never run/compile programs from a flash drive. I don't know why, perhaps JavaPF would know better.

  6. #31
    Junior Member Jchang504's Avatar
    Join Date
    Nov 2008
    Posts
    28
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default Re: fixing these two errors

    Oh my apologies - I replied to the last post on the first page.

  7. #32
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 294 Times in 227 Posts
    Blog Entries
    4

    Default Re: fixing these two errors

    Quote Originally Posted by Jchang504 View Post
    That is because there actually is no method getPay()? I'm not sure. I'm a beginner myself. But note that you can never run/compile programs from a flash drive. I don't know why, perhaps JavaPF would know better.
    Yes Jchang504, this has already been solved. The issue was that he renamed the getPay method.

    I am not sure why you cannot compile programs from a Flash drive. I have never tried before.
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

  8. The Following User Says Thank You to JavaPF For This Useful Post:

    big_c (April 15th, 2009)

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Ambiguity and non-static variable reference error in java
    By jenseits in forum AWT / Java Swing
    Replies: 5
    Last Post: December 8th, 2008, 07:04 PM