Advertisement
tei123

sklep polazdane

Mar 19th, 2019
369
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.39 KB | None | 0 0
  1. class Sklep{
  2.  
  3.             static public void main (String agg[]){
  4.                         Towar t1 = new Towar();
  5.                         t1.pokazDane();
  6.                         Towar t2 = new Towar("pies",40,"pies123");
  7.                         t2.pokazDane();
  8.                         Towar t3 = new Towar("kot",40,"kot123");
  9.                         t3.pokazDane();
  10.             }
  11.             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement