Multiple choice technology programming languages

What is the difference between a TextArea and a TextField?

  1. A TextArea can handle multiple lines of text

  2. A textarea can be used for output

  3. TextArea is not a class

  4. TextAreas are used for displaying graphics

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

TextArea components support multiple lines of text input, while TextField is designed for single-line input only. Option A correctly identifies this key distinction. Option B is not the primary difference. Option C is false as TextArea is a class. Option D is incorrect as TextAreas display text.