nerdexam
Microsoft

MB-500 · Question #246

Drag and Drop Question A company uses Dynamics 365 Finance. You must implement three classes with the following requirements: - Variables in ClassA must be accessible from ClassA and its child classes

Sign in or unlock MB-500 to reveal the answer and full explanation for question #246. The question stem and answer options stay visible for context.

Design and develop AOT elements

Question

Drag and Drop Question A company uses Dynamics 365 Finance. You must implement three classes with the following requirements: - Variables in ClassA must be accessible from ClassA and its child classes but not from other classes. ClassB is a class that inherits from ClassA. - ClassC is not a parent or child class of any other class. The variables of ClassC must only be accessible within ClassC. You need to complete the implementation. Which variable modifiers should you use? To answer, drag the appropriate variable modifiers to the correct class names. Each variable modifier may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point. Answer:

Exhibit

MB-500 question #246 exhibit

Answer Area

Drag items

ProtectedPrivatePublic

Unlock MB-500 to see the answer

You've previewed enough free MB-500 questions. Unlock MB-500 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#access modifiers#X++ classes#inheritance#encapsulation
Full MB-500 Practice