0

Design a shared counter in java.

Input: Number of threads(n) and Maximum count in each thread(N) Output: Display the value of each counter in parallel, as the value gets incremented in each counter. All the counters should reset to zero when at least one of them reaches maximum count N.

19th Mar 2019, 9:24 AM
RAKESH KUMAR RANABIDA
RAKESH KUMAR RANABIDA - avatar
1 Respuesta
29th May 2019, 6:38 AM
Anitesh Maiti
Anitesh Maiti - avatar