Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package me.BlinG.Code;
- public class JavaLessonSeventeen {
- public static void main(String[] args) {
- Thread getTime = new GetTime20();
- Runnable getMail = new GetTheMail(10);
- Runnable getMailAgain = new GetTheMail(20);
- getTime.start();
- new Thread(getMail).start();
- new Thread(getMailAgain).start();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement