NatWest Group Interview Question

object level lock vs class level lock