Question Detail

COM 101 COM 101 Past Questions Objective Question

Question

33. A major difference between labels and textboxes in VB is
Options
A Labels are attached to commands, while textboxes attached to controls
B Both Labels and textboxes are VB controls
C Textboxes can be used to accept input or display output while labels are used to display output
Correct Answer
D Labels are primarily used to accept input from the user while textboxes are used to display output to the user
Correct Answer

Option C is the correct answer.

Detailed Explanation

Textboxes can both accept input and display output. Labels are typically for display only.

Hint

You can type in a textbox, but not a label.

Question Info