Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.*;
- /**
- * Created by Bludya on 3.6.2016 г..
- * All rights reserved!
- */
- public class Problem01_ReverseString {
- public static void main(String[] args) {
- Scanner sc = new Scanner(System.in);
- System.out.println(new StringBuilder(sc.nextLine()).reverse().toString());
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement