CS506 GDB 1 Solution and discussion
In general, a typical Java program is dealt with the following kinds of thread:
Main Thread; initial application code is executed.
Worker Thread; time-consuming and background tasks are executed.
Well, Java based smart devices (embedding Java code in smart devices) have revolutionaries the human life. At one side, these devices provide ease of use of technology. But on the other side, their unresponsiveness or delay in response to user’s actions may result in human frustration. One of the main reasons is, these devices mostly run on a single Main Thread.
Being a Java developer what do you think, “Use of Worker Threads along with Main Thread will reduce the response delay or increase the work load in Java based Smart Devices?”