Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package aaaaaaaaaaa;
- import java.util.Scanner;
- public class Aaaaaaaaaaa {
- public static void main(String[] args) {
- String napis ="Ala ma kota";
- System.out.println(napis);
- String reverse = new StringBuffer(napis).reverse().toString();
- System.out.println(reverse);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment