You are not logged in.

#1 2015-06-09 07:16:55

husnain
User RankUser RankUser RankUser RankUser RankUser Rank
Administrator
From: Chichawatni,Pakistan
Registered: 2014-10-03
Posts: 8,129
Website

Mutual Exclusive:

Question:
Which helps to keep threads from interfering with one another while sharing data. This can be done by three ways in java:

1.by synchronized method
2.by synchronized block
3.by static synchronization

Option A):
Mutual Exclusive
Option B):
Initial-thread communication
Option C):
Inter-thread communication
Option D):
None

Correct Answer is Option A):
Mutual Exclusive


You cannot discover the new oceans unless you have the courage to lose the sight of the shore.

2015-06-09 07:16:55

Advertisement
Ads By Google

Re: Mutual Exclusive:



Board footer