From the two, which would be easier to write: synchronization code for ten threads or two threads?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

Is ++ operator thread-safe in java?

0 Answers  


What is the diff. b/w Interfaces & Abstract class?

6 Answers   Ericsson,


What are the benefits of immutable objects?

0 Answers  


Write a program for recursive Traverse?

1 Answers  


What is final modifier?

0 Answers  


How to sort numbers in java without array?

0 Answers  


Hi can u pls tell me what is the use of marker interface. Iknow what is marker interface but what ability will the object get by implementing this.

3 Answers   CGI,


how tha garbage collector know that the object will be deleted? on which algorithm the garbage collector works? what is the working principle of garbage collector? How manay types of garbage collectors r there?

1 Answers   HP, SparkTG,


What is variable and rules of variable?

0 Answers  


How many java versions are there?

0 Answers  


Where will it be used?

0 Answers  


What are the differences between string and stringbuffer?

0 Answers  


Categories