PrepAway - Latest Free Exam Questions & Answers

How many times is the Location property on the newly created Match class assigned?

You are developing an application that tracks tennis matches. A match is represented by the
following class:

A match is created by using the following code:

How many times is the Location property on the newly created Match class assigned?

PrepAway - Latest Free Exam Questions & Answers

A.
0

B.
1

C.
2

D.
3

5 Comments on “How many times is the Location property on the newly created Match class assigned?

  1. Christian Zalto says:

    The first time is when the match is instantiated in “Dim match = New Match”.
    Location is initially still “unknown”.

    The second time in the With statement when location is set to “north region”.




    0



    0

Leave a Reply