scheduling and time slicing in Java - April 02, 2009 at 17:00 PM by Vidya
What is the difference between preemptive scheduling and time
Preemptive scheduling enables the highest
priority task execution until waiting or dead states entered. It also
executes, until a higher priority task enters.
Time slicing allows a task to execute for a stipulated time slice
and then reenters the pool of ready tasks. At that time the
scheduler determines the executable task, based on the priority and
various other tasks.
preemptive scheduling and time slicing - July 31, 2009 at
14:00 PM by Amit Satpute
If a certain task is running and the scheduling method used is
preemptive, and then if there is another task that has a higher
priority than the executing task, then the executing task is
preempted by the higher priority task.
In time slicing methods, a task executes for a predefined slice
After the execution of that task, if there is another
task with a higher priority, the scheduler executes the priority
task the next depending on priority and other factors..
Answer: Java applications can call
code written in C, C++, or assembler. This is sometimes
Answer: Private Constructors
can't be access from any derived classes neither from another
Answer: Threads that work in the background
to support the runtime environment are called daemon threads.....
classes are used to be able to use the primitive datatypes
Answer: A Monitor defines a lock and condition variables for
managing concurrent access to shared data.......
Answer - Failure to load the appropriate JDBC driver before
giving a call to