Wpis z mikrobloga

@vaneck: Wszystko wykonuje się prawidłwo.

public static void main(String[] args) {
// do not alter the main method!
Order book = new Order(true, 9.99, "Express");
Order chemistrySet = new Order(false, 72.50, "Regular"); // tu wywołany jest pierwszy System.out.println(), wypisujący "High value item!"

book.ship(); // tu wywołane są 2 System.out.println() z metody ship(), wchodzi warunek if - "Shipping", "Shipping cost: 1.75"
chemistrySet.ship(); // tu wołany jest System.out.println z metody ship() z wraunku