User Profile
Collapse
-
Thank you, I'll give that a try and post any problems I might have :) -
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:
I have marked this line with some asterisks and was hoping we could deliberate on what the problem with it is? Thanks guys...Code:SeatAssign.java:54: setSeats(char[][]) in SeatAssign cannot be applied to (char[][],int,int) setSeats (Seats, row, col); ^
-
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...Leave a comment:
-
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...Leave a comment:
-
I'm using Textpad with the Java SE Runtime 6 External Application, thank you though!!! I'm going to give this try right now!Leave a comment:
-
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:
No activity results to display
Show More
Leave a comment: