Given: (Exhibit) What is required to make the Foo class thread safe? By Singh | January 7, 2023 0 Comment Given:What is required to make the Foo class thread safe? A. No change is required. B. Make the declaration of lock static. C. Replace the lock constructor call with new ReentrantLock (true). D. Move the declaration of lock inside the foo method. Correct Answer: C Reference:/how-to-make-java-class-thread-safe