Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Psy {
- private String [] dane = new String [10];
- private int [] numery = new int [10];
- private String [] rasy = new String [10];
- public Psy(){
- for (int i=0; i<rasy.length; i++){
- rasy[i] = null;
- }
- }
- public void przepisz(){
- String [] slowa;
- for (int i=0; i<dane.length; i++){
- slowa = dane[i].split("*");
- slowa[0].toLowerCase();
- rasy[numery[i]] = slowa[0];
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement