Uploaded by SITA NAGARAJ 20MIS1156

Week-9-Multithreading

advertisement
Date : 11-10-2021
Program
M.Tech SE (Int)
Semester
Fall 2021-2022
Course Title
Programming in Java Lab
Week
9
Course Code
SWE1007
Slot
L31+L32
Multithreading in Java
1. Implement a Java program by creating three different threads. Thread1 is to create a
sequence of even numbers from 2 to 50. Thread2 is to create a sequence of odd numbers from
1 to 49 and thread3 is to create a sequence of prime numbers from 2 to 47.
Download