Pourquoi la méthode concat () de Java ne fait rien?

Ce code:

String s = "TEST";
String s2 = s.trim();

s.concat("ING");
System.out.println("S = "+s);
System.out.println("S2 = "+s2);

résultats de cette sortie:

S = TEST
S2 = TEST
BUILD SUCCESSFUL (total time: 0 seconds)

Pourquoi "TEST" et "ING" pas concaténé?

source d'informationauteur soma sekhar