What is multi-tasking? Types?
Answer / ram nidadavolu
A multithreaded program contains two or more parts that can
run concurrently, Each part a program is called thread and
each part that defines a separate path of execution.
Thus multithreading is a specified from of multitasking .
There are two distinct types of multitasking .
Process: A Process is , in essence , a program that is
executing.
2 Process-based :is heavy weight- allows you run two or
more programs concurrently.
Eg: you can use JAVA compiler at the same time you are using
text editor.
Here a program is a small unit of code that can be
dispatched by scheduler .
Thread-based: is Light weight- A Program can perform two or
more tasks simultaneously.
Creating a thread:
Eg: A text editor can formate at the same time you can
print, as long as these two tasks are being perform separate
threads.
| Is This Answer Correct ? | 2 Yes | 0 No |
In a multitiered application which tier is the browser in?
Will it be called overriding if I do not change the parameters or return type, instead throw a different exception in the method signature.
Explain lazy activation?
how convert java file to jar files?
What is a modular application? What does module-relative mean?
How to pass parameters in RMI?
What are the types of scaling?
if i know the lenght of collection in hand, should I use Array or Arraylist? justify
what is the use of Object Factories?
What value does readline() return when it has reached the end of a file?
function of extends and implements keywords?
what is activation monitor and what is its job?