Search:

Type: Posts; User: TitanVex

Search: Search took 0.13 seconds.

  1. Thread: Create Object

    by TitanVex
    Replies
    8
    Views
    1,912

    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
    1,912

    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
    1,912

    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
    1,912

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