=== hannesw__ is now known as hannesw | ||
Janosch-ext | Hello! i don't unterstand this - where is the difference between String sErgebnis = ""+l1 + i1 + s1 + f1 + d1 + c1; and String sErgebnis2 = l1 + i1 + s1 + f1 + d1 + c1 + ""; ? | 15:56 |
---|---|---|
nthykier | Janosch-ext: You should ask in ##java - this channel is not about writing java code but compiling and distributing java code - that being said the first example you get a string concat (all the way though) and in the second you don't (unless l1 is a string) | 15:58 |
nthykier | if lX and iX are numbers the latter will add the numbers and then turn them into a string afterwards | 15:58 |
Janosch-ext | can't get in ##java | 15:59 |
nthykier | Janosch-ext: you have to register your nick - check http://freenode.net/faq.shtml#nicksetup for more info | 16:00 |
nthykier | on registering nick names' | 16:00 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!