InterviewSolution
Saved Bookmarks
| 1. |
Write the output that will be displayed in the textfields by the following Java code:string x;string stream = "Commerce";jTextField1.setText((stream.length() +9) +" ");x = stream. concat("Humanities");jTextFiled2.setText(x);jTextField3.setText(" " + x.substring(2,5));jTextField4.setText(stream.toLowerCase()); |
|
Answer» jTextField1 = 17 jTextField2 = Commerce humanities jTextField3 = mme jTextField4 = Commerce Humanities |
|