Advertisement
GameNCode

CarsMain

Nov 8th, 2016
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. /**
  2. * Created by Roy Weisfeld on 11/8/2016.
  3. */
  4. public class ToledoMain {
  5.  
  6. public static void main(String []args)
  7. {
  8. parkingLot fuckThisShit = new parkingLot(10,10);
  9. fuckThisShit.carIn();
  10. System.out.println("Open parking spots = " + fuckThisShit.openspots);
  11. fuckThisShit.parkFull();
  12. System.out.println("Open parking spots = " + fuckThisShit.openspots);
  13. fuckThisShit.parkEmpty();
  14. System.out.println("Open parking spots = " + fuckThisShit.openspots);
  15. fuckThisShit.carOut();
  16. System.out.println("Open parking spots = " + fuckThisShit.openspots);
  17. Car Ugh = new Car("Lexus" , "120699", "Roy" );
  18. System.out.println(Ugh.Company + " , " + Ugh.LPlate + " , " + Ugh.Owner);
  19. }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement