exam questions

Exam 98-361 All Questions

View all questions & answers for the 98-361 exam

Exam 98-361 topic 1 question 77 discussion

Actual exam question from Microsoft's 98-361
Question #: 77
Topic #: 1
[All 98-361 Questions]

HOTSPOT -
You have a base class named Tree with a friend property named color and a protected property named NumberOfLeaves. In the same project, you also have a class named Person.
For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
JustinasSLT
1 year, 1 month ago
Why secod answer is 'NO' ?
upvoted 1 times
JustinasSLT
1 year, 1 month ago
Sorry, I myself got an answer - it is because Person class is not child class of Tree, Person class is just in the same assembly as Tree class. I am correct?
upvoted 2 times
...
...
itexamsmicrosoft
1 year, 3 months ago
"a base class named Tree with a friend property named color" - a friend property? it should be public property i assume
upvoted 4 times
bemale
1 year, 3 months ago
"friend" is VB and it means "internal" in C#
upvoted 4 times
matt11
11 months, 1 week ago
didn't know this - thanks. What a ridiculous naming convention though haha
upvoted 5 times
...
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...