ExamVeda
Login
Home
This question belongs to Computer Science Visual Basic
Visual Basic
?

What will be the content of Text after the code is executed with id=8?

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

Answer & Solution
Correct Answer: Option D
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.