Advertisement
urksiful

FSFSF

May 20th, 2018
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.88 KB | None | 0 0
  1.  
  2. import sun.security.pkcs11.P11Util;
  3.  
  4.  
  5. /**
  6.  *
  7.  * @author Uriel
  8.  */
  9. public class Tu {
  10.  
  11.     String xD = "kjpjkjkjkkkekjrjkfkjejkckjtjka";
  12.     String im = "sere";
  13.  
  14.     public static void main(String[] args) {
  15.         Tu pl = new Tu();
  16.  
  17.         System.out.println(pl.getClass().getSimpleName() +" "+ pl.ut(pl.im)+" "+pl.ers()+pl.hardestOperation());
  18.     }
  19.  
  20.    
  21.  
  22.     public String ut(String im) {
  23.         if (im.length() == 1) {
  24.             return im;
  25.         } else {
  26.             return ut(im.substring(1)) + im.charAt(0);
  27.         }
  28.     }
  29.    
  30.     public int hardestOperation(){
  31.        return ((9-6)*5)-12;
  32.     }
  33.    
  34.     public String ers() {
  35.         String sfsfsf="";
  36.         for (char ob : xD.toCharArray()) {
  37.             if((ob != 107) && (ob != 106)){
  38.                 sfsfsf += ob;
  39.             }
  40.         }
  41.        
  42.         return sfsfsf+" <";
  43.     }
  44. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement