i found this code in serial in the internet. but i want to modified so it can used
thread.
it says RejectedExecutionException. please guide me to modified this code. I have read some article and in my understanding it seems to be correct unfortunately its not. please..
lets say i still want to use executorService. Thank you.