PrepAway - Latest Free Exam Questions & Answers

Which keyword should you use?

You are developing a class named Account that will be used by several applications.
The applications that will consume the Account class will make asynchronous calls to the
Account class to execute several different methods.
You need to ensure that only one call to the methods is executed at a time.
Which keyword should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
sealed

B.
protected

C.
checked

D.
lock

2 Comments on “Which keyword should you use?


Leave a Reply