Varasku

Zadanie 4

Nov 22nd, 2018
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1.  
  2. package aaaaaaaaaaa;
  3.  
  4. import java.util.Scanner;
  5.  
  6.  
  7. public class Aaaaaaaaaaa {
  8.  
  9.  
  10. public static void main(String[] args) {
  11.  
  12.  
  13. String napis ="Ala ma kota";
  14. System.out.println(napis);
  15. String reverse = new StringBuffer(napis).reverse().toString();
  16. System.out.println(reverse);
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment