Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static String [] apelidonome(String participantes[][],int nElem){
- String []apelido=new String [nElem];
- for(int i=0;i<nElem;i++){
- String tmp[]=participantes[i][1].split(" ");
- char a=tmp[1].charAt(0);
- apelido[i]=+a+". "+tmp[1];
- }
- return apelido;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement