Advertisement
Guest User

Untitled

a guest
Jan 18th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.42 KB | None | 0 0
  1.  
  2. public class Psy {
  3.     private String [] dane = new String [10];
  4.     private int [] numery = new int [10];
  5.     private String [] rasy = new String [10];
  6.    
  7.     public Psy(){
  8.         for (int i=0; i<rasy.length; i++){
  9.             rasy[i] = null;
  10.         }
  11.     }
  12.     public void przepisz(){
  13.         String [] slowa;
  14.         for (int i=0; i<dane.length; i++){
  15.             slowa = dane[i].split("*");
  16.             slowa[0].toLowerCase();
  17.             rasy[numery[i]] = slowa[0];
  18.         }
  19.     }
  20.    
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement