Vidyalelo
Computer Science · Q448

Visual Basic MCQs: Test Your Proficiency in Visual Basic Programming

Engineering and GATE · Computer Science · question 448

Q448

What will be the content of Text after the code is executed with id=4? If id==1 Then Text="Janet"; Elseif id==2 OrElse id==3 Then Text="Mark" ElseIF id==4 Then Text="Jerry" Else Text="Sue "; EndIf

A.
Janet
B.
Mark
C.
Jerry
Answer
D.
Sue

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board