So how would I do that to be any different? Would it be like:
public String printTheTicket() {
String string = System.out.println(vehicle.toString());
return string;
}
Or do I somehow...
Type: Posts; User: TitanVex
So how would I do that to be any different? Would it be like:
public String printTheTicket() {
String string = System.out.println(vehicle.toString());
return string;
}
Or do I somehow...
Well I tried something like that, but because in my println statements, I used the actual objects like 'vehicle, meter, and copster' I can't use that in the ParkingTicket class. I tried changing it...
I am really bad at explaining because I get confused with some of the terminology. I apologize. However, the assignment says that we must generate a parking ticket (from the ParkingTicket class) if...
I was working on this problem earlier. I have solved it, except for one part. It says that I have to generate a parking ticket from my 'ParkingTicket' class. Right now, in my Demo class, I have...
Nevermind! I solved it! Thanks anyway!
Allrighty. Will do. Thanks.
I get an error in the PoliceOfficer class. It would be in this part:
static ParkingTicket search(ParkedCar car, ParkingMeter meter) {
int time = ParkedCar.getMinutes() -...
Hello. I am fairly new to programming, and this new assignment has pushed me to my limits. I am almost done with it, I think, but I am doing something incorrect because I can't seem to get rid of...