Here you can find the source of printArray(int[] array, int start, int end)
public static void printArray(int[] array, int start, int end)
//package com.java2s; //License from project: Apache License public class Main { public static void printArray(int[] array, int start, int end) { System.out.print("array: [" + start + "," + end + "]"); for (int i = start; i < end; i++) { System.out.print("," + array[i]); }// w ww .j av a 2 s. c o m System.out.println(""); } }