#Rent a car

1 messages Β· Page 1 of 1 (latest)

tardy pulsarBOT
#

<@&987246399047479336> please have a look, thanks.

#

I uploaded your attachments as Gist. This makes them more accessible, for example to mobile users.

eternal schooner
#

Can you share specifically why you feel that way?

eternal schooner
#

I'd already switch over to the newer switch expressions over your switch cases.

deep dust
#

this is what we are going thru in the course of java! @eternal schooner

I'm almost finished now with the code but the problem with maximum 7 parameters (instead of the 10 I have at row 137 and 201)
would you please help me find a way thru to cut them down? thanks πŸ™‚

tardy pulsarBOT
eternal schooner
#

What do you mean with: the problem ?

deep dust
#

error on codegrade... errorCheckstyle:
More than 7 parameters (found 10).
Main.java line 137
Main.java line 201

ember quartz
#

checkstyle lol, that's the problem here

#

all those variables should be fields in a class

deep dust
#

Yes! I did that before but another checkstyle requires me to only use one class

nocturne sky
deep dust
#

I received an answer from my teacher now. Ignore the 7 parameters error, you wont be marked down for it. Please don’t create new class, that is not at all allowed

#

Thanks for helping me tho! This might be to basic for you guys πŸ˜…

bronze pier
#

dont worry. we are here to help everyone - especially the beginners

#

it wasnt basic for us either when we started

deep dust
#

No I love this, but so difficult to learn in the beginning! Is the code overall decent to hand in?

ember quartz
tardy pulsarBOT
ember quartz
#

There's way more improvements to make, but that should show you how to work with an actual class

fluid lantern
#

If any error occurs, your program is always expected to print an appropriate error message and
return to the menu. It should never crash, or exit on it own, unless the user selected ”q” option in the
menu.