Contact Us
|
Contribute
|
Ask Question
|
login
Subscribe Us
91-9990449935
0120-4256464
Java
T
point
Home
Java
C
SQL
Android
PHP
HTML
CSS
XML
JavaScript
Ajax
Cloud
Python
Web Services
Quiz
Projects
Interview Q
Comment
Forum
Training
Content Menu ▼
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Question 1
:
Java Threads Which of the following can you do with the synchronized keyword:
1. Synchronise on an object
2. Synchronise on a static method
3. Synchronise around code that exists in a method of an instance of an object.
1.
1 and 2 only
2.
1 and 3 only
3.
1 only
4.
2 and 3 only