What happens when you invoke a thread’s interrupt method while it is sleeping or waiting?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

What for read() function?

3 Answers  


Why should we create an object? what is a need of it? Apart from access members of a class i want what is a need of object what does it contain?? In normal class to access any member of thaht class we create object where as for static class we access its members using class name. what is a difference between them... thanks in advance.

1 Answers  


Why do we need data serialization?

0 Answers  


Is it safe to install java on my computer?

0 Answers  


What is string args [] in java?

0 Answers  






What’s the difference between the methods sleep() and wait()?

0 Answers  


Can we have a try block without catch block?

0 Answers  


What does compareto () do in java?

0 Answers  


what is the Yield() method used in threads?

4 Answers   Accenture,


what is an virtual function

2 Answers   TCS,


What is a null check?

0 Answers  


Can we sort hashset in java?

0 Answers  


Categories