InterviewSolution
Saved Bookmarks
| 1. |
What will be displayed in jTextArea1 after the execution of the following loop?for (int i = 5; i >= 2; i- -)jTextArea1.setText(jTextArea1.getText() + " " +Integer.toString (i*i)); |
|
Answer» The correct output 25 16 9 4 |
|