Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Main {
- public static void main(String[] args) {
- Pojemnik k = new Pojemnik();
- Thread t1 = new Towar(k, 1);
- Thread t2 = new Przelicznik(k, 1);
- t1.start();
- t2.start();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement