IN JAVA
Project Requirements. Multithreading Program
. Adapt the demo that creates 3 separate threads.
2. The difference will be that instead of printing, the threads will have to open a file and read from the file. Finally they will print the contents of the file. There will be three files. FileA.txt, FileB.txt, File100.txt. As you can imagine, file A will contain only a characters, file B will contain only b characters, File100 will contain the numbers 1 through 100.
3. Finally, you will have to implement the yield(), sleep(), and join() methods somewhere in your program. You only need one implementation somewhere in your code.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here