Expected out put is not getting in this java thread code

Printable View