LLD - Advanced LLD Concepts
Which of the following is the correct way to declare a lock object in a typical low-level design for thread safety?
Lock().lock = Lock() uses lock = Lock(), which is typical. lock = new Lock() uses 'new' which is not common in low-level design languages. lock = create_lock() and D use incorrect or non-standard functions.15+ quiz questions ยท All difficulty levels ยท Free
Free Signup - Practice All Questions