dcsimg
LinkedIn
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Java
Expertise: Intermediate
Dec 6, 2019

How to Define a SynchronousQueue in Java

For defining a SynchronousQueue in Java, we need the BlockingQueue interface as follows:

BlockingQueue queue = new SynchronousQueue();
Octavia Anghel
 
Close Icon
Thanks for your registration, follow us on our social networks to keep up-to-date