PrepAway - Latest Free Exam Questions & Answers

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.

PrepAway - Latest Free Exam Questions & Answers

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.

3 Comments on “select Yes if the statement is true.

  1. Lord Vader says:

    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.




    0



    0

Leave a Reply