PRACTICE PROGRAMS
1. Write a Java program to create a basic Java thread that prints "Hello, World!" when executed.
2. Write a Java program that creates two threads to find and print even and odd numbers from 1 to 20.
3. Write a Java program that sorts an array of integers using multiple threads.
4. Write a Java program that performs matrix multiplication using multiple threads.
5. Write a Java program that calculates the sum of all prime numbers up to a given limit using multiple threads.
6. Write a Java program to implement a concurrent web crawler that crawls multiple websites simultaneously using threads.
7. Write a Java program that creates a bank account with concurrent deposits and withdrawals using threads.
8. Create the program to create multiple threads by using Runnbale interface
9. Create the program to create multiple threads by using Thread class
10. Create the program to create multiple threads, set its name and its priority.
11. Create the program to create multiple threads, show an example of synchronization keyword.
12. Create the program to create multiple threads, show an example of notify, notifyall, wait, resume, sleep methods.
13. Create the program to create multiple threads, show an example of join and yield methods.