Search:

Type: Posts; User: TitanVex

Search: Search took 0.13 seconds.

  1. Thread: Create Object

    by TitanVex
    Replies
    8
    Views
    628

    Re: Create Object

    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...
  2. Thread: Create Object

    by TitanVex
    Replies
    8
    Views
    628

    Re: Create Object

    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...
  3. Thread: Create Object

    by TitanVex
    Replies
    8
    Views
    628

    Re: Create Object

    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...
  4. Thread: Create Object

    by TitanVex
    Replies
    8
    Views
    628

    Create Object

    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...
  5. Re: Parking Ticket Simulator Help (Almost done, few errors)

    Nevermind! I solved it! Thanks anyway!
  6. Re: Parking Ticket Simulator Help (Almost done, few errors)

    Allrighty. Will do. Thanks.
  7. Re: Parking Ticket Simulator Help (Almost done, few errors)

    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() -...
  8. Parking Ticket Simulator Help (Almost done, few errors)

    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...
Results 1 to 8 of 8