Q. Is there an error in the below code?

Code:
Private _dblBonus As Double
Public ReadOnly Property Bonus As Double
Set(ByVal value As Decimal)
_dblBonus = value
End Set
End Property
  • (A) No error
  • (B) Runtime Error
  • (C) Compilation Error
  • (D) Syntax error
πŸ’¬ Discuss
βœ… Correct Answer: (C) Compilation Error

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
233
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Ranjeet
Publisher
πŸ“ˆ
89%
Success Rate