In the following Visual Basic code, what will be in msg, if str contains "visual basic"?
Dim str as String
Dim msg as String
If str.toUpper="VISUAL BASIC"
msg="VB.Net"
Else
msg="Not Visual Basic"
EndIf
Dim str as String
Dim msg as String
If str.toUpper="VISUAL BASIC"
msg="VB.Net"
Else
msg="Not Visual Basic"
EndIf
A. VB.Net
B. Not Visual Basic
C. Logical Error
D. Compiler Error
Answer: Option A

please review this answer the correct answer might be logical error