How the threads are synchronized?

Answer Posted / dsr

By using wait(),notify and notifyall() methods in the code.

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is java so important?

654


What is final keyword in java? Give an example.

579


what is the difference between thread and runnable types? : Java thread

552


What is the technique adopted to create an immutable class?

526


Which is illegal identifier in java?

592






What is :: operator in java 8?

560


List some important characteristics on jre

597


What is instance example?

527


Which of the following is not an isolation level in the JDBC

1613


What is a generic data type?

574


What 4 doubled?

544


Can a class declared as private be accessed outside it’s package?

517


Is object a data type?

564


What is use of inner class in java?

518


What is substring 1 in java?

591