Answer Posted / venkatachalapathy
Interrupts are necessary for handling time-critical
tasks, but there’s a large class of problems in
which you’re simply trying to partition the problem
into separately-running pieces so that the whole
program can be more responsive. Within a program,
these separately-running pieces are called threads
and the general concept is called multithreading. A
common example of multithreading is the user
interface. By using threads, a user can press a
button and get a quick response rather than being
forced to wait until the program finishes its
current task.
Ordinarily, threads are just a way to allocate the
time of a single processor.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is null function in java?
What is the synonym of framework?
Can we have multiple catch block for a try block?
How does singleton class work?
What are the methods of object class ?
Why synchronization is important in java?
What language is java written?
Are arrays static in java?
What are the states of thread in java?
Difference between arraylist and hashset in java?
Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?
What is the difference amongst jvm spec, jvm implementation, jvm runtime ?
What makes a function well defined?
Does java support function overloading, pointers, structures, unions or linked lists?
Describe string intern() methodology