select Yes if the statement is true.

HOTSPOT
You have the following code:

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

HOTSPOT
You have the following code:

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

Answer:

Explanation:
Note:
* CustomerID is declared private.
* CompanyName is declted protected.
* State is declared protected.
The protected keyword is a member access modifier. A protected member is accessible from within
the class in which it is declared, and from within any class derived from the class that declared this
member.



Leave a Reply 3

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


Lord Vader

Lord Vader

Explanation:
Note:
* CustomerID is declared private.
* CompanyName is declted protected.
* State is declared protected.
The protected keyword is a member access modifier. A protected member is accessible from within
the class in which it is declared, and from within any class derived from the class that declared this
member.

Dude

Dude

CompanyName is declared Public but yeah, the result is the same in this case 🙂