Which of the following actions should you take?

You work as a developer at ABC.com. The ABC.com network consists of a single domain named
ABC.com.
You have received instructions to develop a class, named Customer, which exposes a string
property, named CustomerType. You have been informed that your code should allow for the
property to be accessible and customizable via code inside the Customer class or inside a class
derived from the Customer class.
Which of the following actions should you take?

You work as a developer at ABC.com. The ABC.com network consists of a single domain named
ABC.com.
You have received instructions to develop a class, named Customer, which exposes a string
property, named CustomerType. You have been informed that your code should allow for the
property to be accessible and customizable via code inside the Customer class or inside a class
derived from the Customer class.
Which of the following actions should you take?

A.
You should consider including the Protected access modifier in your code.

B.
You should consider including the Protected Internal access modifier in your code.

C.
You should consider including the Public access modifier in your code.

D.
You should consider including the Private access modifier in your code.

Explanation:



Leave a Reply 2

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