What are preemptive scheduling and time slicing and what is
the difference between them?
Preemptive Scheduling is where one thread continues to
execute till such time its execution has completed or until
a thread of a higher priority comes into existence or the
priority of one of the waiting threads is increased.
Time Slicing is where each thread that is waiting to
execute will share the CPU time equally. One thread will
exeucte for n seconds or milliseconds, then go to the
waiting state again. the CPU scheduler will then determine
which of the other waiting threads will execute next.
Is This Answer Correct ? | 11 Yes | 0 No |
How JNDI is used in JMS ?
what do u mean by java bean??
Can we sent objects using Sockets?
Is jvm a overhead?
what is Activation Instantinator?
How many layers are there in RMI and what are they?
Urgent Openings for Java and .NET ( India, Singapore, Australia, Japan)
Is System.err.println(""Statement"); is execute the output on console . Example: System.err.println("Hello JAVA");
In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?
Difference between DurableSubscription and non- DurableSubscription?
Can I use multiple html form elements with the same name?
what about static?