1
0
forked from s444409/POB_2019
POB_2019/Java/zad2_1/zad2_1.java
2019-04-14 13:42:06 +02:00

11 lines
356 B
Java

package POB_2019.Java.zad2_1;
public class zad2_1 {
public static void main(String[] args){
Koszyk cart1 = new Koszyk("Marcin");
cart1.addProduct(new Produkt("Banan", 3.19f));
cart1.addProduct(new Produkt("Ananas", 5.69f));
cart1.addProduct(new Produkt("Pomarańcza", 2.99f));
System.out.println(cart1);
}
}