What is starvation?



What is starvation?..

Answer / Arti Kumari

Starvation in Java occurs when a thread is not getting its fair share of CPU time, leading to the indefinite delay of that thread's execution. This happens when the priority of a thread is lower than other threads and there are no blocked higher-priority threads.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is the exact difference in between Unicast and Multicast object? Where will it be used?

1 Answers  


Is array a class?

1 Answers  


What is a void return type?

6 Answers  


If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?

1 Answers  


What is the difference between a method and a function in alice?

1 Answers  


What is static variable and static method?

32 Answers   Accenture, Prolific, Prolifics, TCS, TNH,


What is jar?

1 Answers  


What are keywords in java?

1 Answers  


How to call static method?

4 Answers   Epoch,


Explain heap sort?

1 Answers   Flextronics,


Is set ordered?

1 Answers  


Explain about the performance aspects of core java?

1 Answers  


Categories