How can I print the arr variable in the log to see the results of the array thanks,

 public void onClick(View v) {
     if(v.getId()==R.id.buttonone)
     {
          genrandom grandom =new genrandom();
          int[] arr=new int[50];
          arr = new  gen_random_number().genrandom(arr, yourXvalue);
     }
 }
Edit
Report