You are not logged in.

#1 2015-06-12 05:59:08

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

Applied Method:

Java Quizzes Java Language Threads

Question:
Which keyword when applied on a method indicates that only one thread should execute the method at a time.

Option A):
native
Option B):
synchronized 
Option C):
volatile
Option D):
static

Correct Answer is Option B):
synchronized


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

2015-06-12 05:59:08

Advertisement
Ads By Google

Re: Applied Method:



\n

Board footer