Hot Area:

HOTSPOT
You are reviewing the following code:

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Hot Area:

HOTSPOT
You are reviewing the following code:

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Hot Area:

Answer:



Leave a Reply 9

Your email address will not be published. Required fields are marked *


wer

wer

yes
yes
yes

Mo

Mo

yes, yes, yes!

Barhoooom

Barhoooom

Yes Yes Yes

JS1985

JS1985

A user can be member of ONLY one single group! There is only one property Usergroup.
If “lt;” in the last question is meant to be “==”, then NO.

The correct answers are:
no
yes
no

Denis

Denis

What about user.UserGroup = Group.Administrators | Group.Managers; ?

Denis

Denis

So for me it is
Yes
Yes
False (if lt; is meant ==)

Roberta

Roberta

lt = less then

Jah

Jah

There is only one property UserGroup but Group is flag enum, which means if for example UserGroup = 5 it belongs to Users and Managers. That what the flags are for. So the answer is yes.

Jah

Jah

5 = Users (1) + Managers (4)