Closed BoAi01 closed 1 year ago
Activation bar is optional so it is not wrong to not provide it. Because s is created before c is created, we can eliminate 1, 2, and 3. Option 4 is incorrect because "c:Client" and "s:Server" are underlined. Hence, answer is the last option.
Not sure if it was mentioned in our textbook but pretty sure it was brought up a few times in lectures and tutorials.
Why are 2 and 3 wrong? They are the only ones that show the invocation of constructors.
Why are 2 and 3 wrong? They are the only ones that show the invocation of constructors.
sry, misread ur question initially. I've edited my response.
Thanks for the explanation. But just to confirm, activation bars are optional? Could you point to somewhere in the textbook? Probably I missed it.
Thanks for the explanation. But just to confirm, activation bars are optional? Could you point to somewhere in the textbook? Probably I missed it.
Minimal Notation
^ Yup, Minimal Notation
Great. Thank you all!
I have two questions about the below question and answer:
Client
is activated, so the activation bar should connect to thec:Client
box. Based on this, answers other than 2 and 3 should be wrong, but why is the last one correct?