Here you can find the source of printArrayRec(int[] workArray, int idx)
public static void printArrayRec(int[] workArray, int idx)
//package com.java2s; //License from project: Open Source License public class Main { public static void printArrayRec(int[] workArray, int idx) { if (idx < 0 || idx >= workArray.length) return; System.out.println(workArray[idx]); printArrayRec(workArray, idx - 1); }//w w w . j av a2 s . co m }