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. Make the declaration of lock static. B. Move the declaration of lock inside the foo method. C. Replace the lock constructor call with new ReentrantLock (true). D. No change is required. Correct Answer: C