Create a multiThreading application.
One thread will read char data from a file and print it to console (user has to create one file manually with char data separated by space).
Second thread called asciiVal will display ASCII value of char data read by first thread to console.
Use interThreadCommunication to generate following type of output.
(Assuming file has data like – T E C H N O L O G Y ……)
Char value : T
ASCII Value : 84
Char Value : E
ASCII Value : 69
Char value : C
ASCII Value : 67
Char Value : H
ASCII Value : 72
Check this :
java/what-is-multithreading-t576.html