Solved

Which of the Following Is the Correct Way to Declare

Question 22

Multiple Choice

Which of the following is the correct way to declare a public read-only property?


A) Public ReadOnly Property PropertyName() As DataType
Statements
End Property

B) Public Property ReadOnly PropertyName() As DataType
Get
Statements
End Get
End Property

C) Public ReadOnly Property PropertyName() As DataType
Get
Statements
End Get
End Property

D) ReadOnly Public Property PropertyName() As DataType
Set
Statements
End Set
End Property

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents