Cisco interview question

How do two different Threads share information.

Interview Answer

Anonymous

Nov 11, 2012

1. Use InputStream and OutputStream (refer to Java API for more details) 2. Use concurrentQueues (insert the information into one queue and let other threads to read them)