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...