Which of the following statements is true about the Java synchronized keyword?
It prevents multiple threads from accessing a block of code at the same time.
It allows the class to be loaded as soon as the JRE starts.
It prevents multiple developers from code redundancy.
It allows two different functions to execute in a shared manner.
Submit