/* * TASK 9 * archived at https://git.femboy.science/femsci/ppj/src/branch/task/9 * by femsci */ package hai.hello; // meow meow~ public class Kotauki { public static void main(String[] args) { Car kitten = new Car(); // kitty car :3 while (true) { try { kitten.drive100km(); } catch (NotEnoughGasException ex) { System.err.println(ex.getMessage()); kitten.fill(); } } } }