public class change {public static String[] change(String[] arry,int len){String tar[] = new String[arry.length] ;for(int i = arry.length-len,y=0;i<arry.length;i++){tar[y++]=arry[i];}for(int i = len,y=0;i<arry.length;i++){tar[i]=arry[y++];}return tar;}public static void main(String arg[]){String[] ss = new String[]{"a","b","c","d"};for(String s : ss){System.out.print(s);}System.out.print("\n");for(String s :change(ss,0) ){System.out.print(s);}}}