Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class MainApp {
- public static void main(String[] args) {
- Faelles faelles1 = new Faelles();
- MyThread thread1 = new MyThread("Thread One", faelles1);
- MyThread thread2 = new MyThread("Thread Two", faelles1);
- thread1.start();
- thread2.start();
- }
- }
Add Comment
Please, Sign In to add comment