Java (computing revision)

Associate
Joined
14 Sep 2007
Posts
1,057
Location
Southampton
just wanted to check something,

would this work?

string forename = "john"
string surname = "smith"

username = forename.substrings(1, 3) + surname.substring(1, 3);

output would be johsmi?

its a question about string concatenation
 
Back
Top Bottom