salve a tutti... scusate ma ho iniziato da poco a studiare il java e mi si è presentato un problemino che non riesco a capire da cosa sia causato...
se immetto ciao l'output è:codice:BufferedReader tastiera = new BufferedReader(new InputStreamReader(System.in)); StringBuffer frase = new StringBuffer (tastiera.readLine()); StringBuffer rovescia = new StringBuffer(); rovescia = frase; rovescia.reverse(); System.out.println( frase ); System.out.println( rovescia );
oaic
oaic
Qualcuno può aiutarmi??![]()