Explore
Connect
Documentation
Snippets
Log in
Sign up
1
67
68
69
70
71
72
// {
public
class
Main
{
public
static
void
main
(
String
args
[])
throws
Exception
{
new
Thread
(
new
Producer
(),
"produce"
).
start
();
new
Thread
(
new
Consumer
(),
"consume"
).
start
();
}
Enter to Rename, Shift+Enter to Preview
Run