Zdravim diskuzi, mam opet jeden zacatecnicky dotaz :)
Tentokrat by me zajimalo, jake vyuziti ma metoda intern ()
tridy java.lang.String, zaujalo me tohle:
 
String helloWorld = "HelloWorld";
String hello = "Hello";
String world = "World";
 
helloWorld == ( hello + world ).intern ();
 
mohl by mi nekdo vysvetlit k cemu je tato
metoda dobra? :)

Odpovedet emailem