String word = “comp”;
for(int j = 0; j < 4; j++){
IO.printString(word.substring(0, j));
}
final output is:
“”
“c”
“co”
“com"




Posted 10 August 2009 - 09:00 AM
Posted 10 August 2009 - 03:49 PM
NeoTifa, on 10 Aug, 2009 - 07:38 AM, said:
Posted 11 August 2009 - 07:28 AM
Posted 11 August 2009 - 04:31 PM
NeoTifa, on 11 Aug, 2009 - 06:31 AM, said:
Quote
This post has been edited by pbl: 11 August 2009 - 04:32 PM
|
|
Query failed: connection to localhost:3312 failed (errno=111, msg=Connection refused).
|
