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
How do you differentiate abstract class from interface?
What is hashing principle in java?
What is reflexive association?
What makes a function well defined?
What is the difference between static method and instance method in Java?
What is the purpose of format function?
What is the reflection?
Can we create constructor in abstract class ?
What is a function in programming?
what do you mean by classloader in java?
Can we use this () and super () in a method?
Can we increase size of array?
What is java life cycle?
What does flagged out mean?
What is an infinite loop in java? Explain with an example.