Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Java Threads Tutorial
→
Java Threads Interview Questions in Java Threads Tutorial
→
What Are The Two Ways That A Code Can Be Synchron...
1.
What Are The Two Ways That A Code Can Be Synchronised?
Answer»
METHOD
can be
DECLARED
as
SYNCHRONISED
.
A
BLOCK
of
CODE
be sychronised.
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
What Are All The Methods Used For Inter Thread Communication And What Is The Class In Which These Methods Are Defined?
Can You Declare A Static Method As Synchronized?
What Are The Two Ways That A Code Can Be Synchronised?
What Does The Start() Method Of Thread Do?
What Is The Difference Between Normal Thread And Daemon Thread?
How To Make A Normal Thread As Daemon Thread?
What Is The Difference Between Sleep() And Yield()?
How Do You Ensure That N Threads Can Access N Resources Without Deadlock?
How Does Thread Synchronization Occurs Inside A Monitor ? What Levels Of Synchronization Can You Apply?
What Is The Difference Between A Synchronized Method And A Synchronized Block?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies