Java
T
point
Home
Python
Java
JavaScript
HTML
SQL
PHP
C#
C++
DS
Aptitude
Reasoning
Selenium
DBMS
C
Android
Interview Q
Content Menu ▼
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Question 1
:
Which one statement is true?
1.
It is possible to synchronize static methods.
2.
When a thread has yielded as a result of yield(), it releases its locks.
3.
When a thread is sleeping as a result of sleep(), it releases its locks.
4.
The Thread.sleep() method can be invoked only from a synchronized context.