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 |
What is the difference between logical data independence and physical data independence?
What is the purpose of setAutoCommit() ?
What advantage does an entity bean have over a sessin bean?
What are the characteristics of java?
What does null mean in java?
What are singleton services?
What is function overriding and overloading in java?
How do I get 64 bit java?
ublic class Java_Coding_Samples { public static void JavaHungr(NumberFormatException ae){ System.out.println("integer"); } public static void JavaHungry(Exception e){ System.out.println("string"); } public static void JavaHungry(ArithmeticException ae){ System.out.println("object"); } public static void main(String[] args) { JavaHungry(null); }
What is the difference between Java and C++?
0 Answers Integreon, TCS, ZS Associates,
when should you use stringbuilder class in a program?
What are strings in physics?