what is the difference between multitasking and
multithreading?
Answers were Sorted based on User's Feedback
Answer / mayuri patil
u can say multi threading as a specilized form of multitasking.
A multi threaded program contains 2 or more threads running concurently.
in a multitasking environment 2 or more processes will run concurently.
Multithreading requires less overhead than multitasking,
process are hevyweight tasks that require their own addressspace.
interprocess communication is veryexpensive and contextswitching
from one process to another procees is costly since they are running
in different address spases.
in case of multithreading threads are lightweightprocess and
can share same addressspace and interthread communication is less expensive
than interprocees
| Is This Answer Correct ? | 0 Yes | 0 No |
how to convert Java project into Maven ?
What do you know about the garbate collector?
There is a Banking application. It has 2 types of account, Savings and Current. Write a method calculateInterest by passing an ArrayList of these account objects and calculate Interest accordingly. Write code for this situation
When finally clause is executed?
Where the CardLayout is used?
What is the integer of 16?
Explain about member inner classes?
What is the difference between static binding and dynamic binding?
What is args length in java?
What is the output of the following Java program? class Main { public static void main(String args[]){ final int i; i = 10; System.out.println(i); } } 10. What is the output of the following Java program? class Main { public static void main(String args[]){ final int i; i = 10; System.out.println(i); } }
Difference between java and javascript
Discuss 2D arrays.