What are the two ways you can synchronize a block of code?
Answer Posted / guest
bu using thread in your main program
Is This Answer Correct ? | 2 Yes | 16 No |
Post New Answer View All Answers
What is package protected in java?
Is it possible to cast an int value into a byte variable? What would happen if the value of int is larger than byte?
what do you understand by synchronization? Or what is synchronization and why is it important? Or describe synchronization in respect to multithreading? Or what is synchronization? : Java thread
How many types of the indexof method are there for strings?
What are runtime exceptions?
What is the default size of load factor in hashing based collection?
Difference between class#getinstance() and new operator ?
What is the escape character in java?
Is c better than java?
Explain about oops concepts.
Explain 5 features introduced in jdk 1.7?
Can we make main() thread as daemon?
What do you mean by inner class in java? Explain
What is token in java?
What are the problems faced by java programmers who don't use layout managers?