On a computer that having single CPU, how multithreading
concept can be achieved?
Answer / amalendra
Depending on the OS algorithm, each thread gets a specific
time slice to execute on processor. thus if one thread is
executing on the processor at that time all other thread
will be queue.
OS algorithm can be Round-Ronin, LUF...etc.
Is This Answer Correct ? | 10 Yes | 0 No |
What is clustering? What are the different algorithms used for clustering?
To what value is a variable of the string type automatically initialized?
what's the main difference between unix os and linux os?
what is difference between object state and behaviour?
What is source and listener?
How JNDI is used in JMS ?
What is runnable?
How to deploy Jar, War files in J2EE?
What is RPC?
What is the difference between long.class and long.type?
What are the different class loaders used by jvm?
What is the O/P of the below Code Snippet ? And how does it imply the concept of call-by-value/call-by-reference. (Note : Pls ignore syntx errors) public class One { sop ("Into One--"); } public class Two extends One{ sop ("Into Two--"); } public class Home { One a; Two t; public static void main(argv[]) { sop ("In Home--"); sop(One.a); sop(Two.a); sop(One.t); sop(Two.t); } }