DRAG DROP -
You are developing an application that includes a class named Kiosk. The Kiosk class includes a static property named Catalog. The Kiosk class is defined by the following code segment. (Line numbers are included for reference only.)
You have the following requirements:
✑ Initialize the _catalog field to a Catalog instance.
✑ Initialize the _catalog field only once.
✑ Ensure that the application code acquires a lock only when the _catalog object must be instantiated.
You need to meet the requirements.
Which three code segments should you insert in sequence at line 09? (To answer, move the appropriate code segments from the list of code segments to the answer area and arrange them in the correct order.)
Select and Place:
patoyanez
Highly Voted 5 years, 10 months agotanujgyan
4 years, 8 months agoOziriz
Highly Voted 5 years, 11 months agorubendlrg
Most Recent 3 years, 10 months agoellyg
3 years, 10 months agoXzibit23
4 years, 6 months agoSebastianB
4 years agoTonyBezerra
4 years, 9 months agotanujgyan
4 years, 8 months agoSamarHussain
4 years, 2 months agoKilsimon
4 years, 2 months agowhtvr
4 years, 9 months agoLAV
5 years, 1 month agoLAV
5 years, 1 month ago