What is the basic difference between jTextArea.setText() and jTextArea.append() methods?

1.1k Views Asked by At

What is the basic difference between jTextArea.setText() and jTextArea.append() methods from examination point of view?

1

There are 1 best solutions below

2
On

setText replaces the text in the text area. append adds a string to the end of the existing text.