English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2 answers

public class Test {
public static void main(String[] args) {
try {
BufferedReader br = new BufferedReader( new InputStreamReader( System.in));
String s = br.readLine();
for (int i=s.length()-1; i>=0; --i)
System.out.print(s.charAt(i));
System.out.println();
} catch (Throwable th) {
th.printStacktrace();
} } }

============
Sample input:
Hello

Corresponding output:
olleH

2007-07-07 13:45:26 · answer #1 · answered by McFate 7 · 0 0

Byte code basically runs speedier and lots as one long line of numbers, this equipment has been finalized and no alterations are predicted. we won't edit byte so actual. Byte is optimized to take out all white area and variable names.

2016-12-10 05:11:15 · answer #2 · answered by ? 4 · 0 0

fedest.com, questions and answers