Tradeweb interview question

Use Synchronized method or Synchronized block