Question Detail

COM 101 COM 101 Past Questions Objective Question

Question

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

Option C is the correct answer.

Detailed Explanation

Textboxes can both accept user input and display data. Labels are typically used only to display static text or output.

Hint

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

Question Info