ThreadSafeBankingProgram The program demonstrates the use of different threadsafe techniques: --synchronize keyword, --creating Reentrant lock class with lock object. Try/finally is used. --tryLock() with timeout value.