Impressão reversa Java

import java.util.Scanner

char c1, c2, c3, c4, c5;
c1 = tara.findInline (“.”). charAt (0);
c2 = tara.findline (“.”). charAt (0);
c3 = tara.findline (“.”). charAt (0);
c4 = tara.findline (“.”). charAt (0);
c5 = tara.findline (“.”). charAt (0);
Scanner. tara = novo Scanner (System.in);
System.out.println (c5 + c4 + c3 + c2 + c1);