CBSE BOARD XII, asked by NarmathaSivakumar, 1 year ago

What is the difference between TextField and TextArea in JAVA.
Minimum 4 points is required.

Answers

Answered by Sidyandex
48

TextArea:

• A single line of text input is not enough so they include multiline

• numChars specifies its width in the form of characters.

• Initial text can be specified with the help of str.

TextField:

• It is implemented in a single line text entry area

• It is called an edit control

• The text field allows a user to enter the strings and edit text using cut and paste or arrow keys."

Answered by sakshi25adlakha
4

Answer:

See this image this will help you -

Attachments:
Similar questions