User Profile

Collapse

Profile Sidebar

Collapse
Slick47
Slick47
Last Activity: Apr 15 '09, 02:22 AM
Joined: Feb 23 '09
Location: Waukesha / Whitewater
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Slick47
    replied to Seat Assignment Program Problem
    in Java
    Thank you, I'll give that a try and post any problems I might have :)
    See more | Go to post

    Leave a comment:


  • Slick47
    started a topic Seat Assignment Program Problem
    in Java

    Seat Assignment Program Problem

    Hey guys, I've gone one problem (so far) in my program to be able to assign and display seats. When I compile my program I get the error:

    Code:
    SeatAssign.java:54: setSeats(char[][]) in SeatAssign cannot be applied to (char[][],int,int)
    			setSeats (Seats, row, col);
    			^
    I have marked this line with some asterisks and was hoping we could deliberate on what the problem with it is? Thanks guys...
    See more | Go to post

  • Slick47
    replied to Okay, major problem guys
    in Java
    Okay, the only things left that I need to fix are:

    79: cannot find symbol
    symbol : method Equals(java.lan g.String)
    location: class java.lang.Strin g
    if(Type.Equals( "1")){


    and:

    93: cannot find symbol
    symbol : method Equals(java.lan g.String)
    location: class java.lang.Strin g
    else if(Type.Equals( "2")){


    The rest of the code is still...
    See more | Go to post

    Leave a comment:


  • Slick47
    replied to Okay, major problem guys
    in Java
    All right, the "Amount2 = (double)0" worked perfectly, thank you! I tried using the "if(Type.Equals ("1"))" line though, I replaced the lines "if (Type == 1)" and "if (Type == 2)" and now when I try to compile it says:

    cannot find symbol
    symbol : method Equals(java.lan g.String)
    location: class java.lang.Strin g
    if(Type.Equals( "1")){

    cannot...
    See more | Go to post

    Leave a comment:


  • Slick47
    replied to Okay, major problem guys
    in Java
    I'm using Textpad with the Java SE Runtime 6 External Application, thank you though!!! I'm going to give this try right now!
    See more | Go to post

    Leave a comment:


  • Slick47
    started a topic Okay, major problem guys
    in Java

    Okay, major problem guys

    Below is my program and my major problem, (I'm sorry in advance for it being so ugly I'm a pretty big noob and this is my first time using if, else if, else statements). My major problem is that when I go to compile this I get the same 4 errors, here are the errors:
    Code:
    *******************************************************************************
    C:\Users\Susan\Desktop\Compsci\Compsci172\Assign 2\Phonebill.java:76: incomparable types:
    ...
    See more | Go to post
    Last edited by pbmods; Feb 24 '09, 03:17 AM. Reason: Added CODE tags.
No activity results to display
Show More
Working...