Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft Exam 70-483 Topic 3 Question 4 Discussion

Actual exam question for Microsoft's 70-483 exam
Question #: 4
Topic #: 3
[All 70-483 Questions]

You are creating a class named Employee. The class exposes a string property named EmployeeType. The following code segment defines the Employee class. (Line numbers are included for reference only.)

The EmployeeType property value must be accessed and modified only by code within the Employee class or within a class derived from the Employee class.

You need to ensure that the implementation of the EmployeeType property meets the requirements.

Which two actions should you perform? (Each correct answer represents part of the complete solution. Choose two.)

Show Suggested Answer Hide Answer
Suggested Answer: B, E

protected string EmpType { get; private set;}

This is a quite common way to work with properties within base classes.

Incorrect:

Not D: Cannot be used because of the internal keyword on line 03.


Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel