Player ( p_id, p_name, inventory(multiple i_id) )
Item ( i_id, i_name )
Player ( p_id, p_name )
Item ( i_id, i_name )
Inventory ( i_id )
import java.io.*;
public class Recursion {
public static void main(String[] args) throws IOException{
int myArray[] = {1,2,3,4,5,6,7,8,9,10};
}
public static void reverseDisplay(int[] ary, int position){
if(position > 0)
System.out.print(ary[position]);
reverseDisplay(ary, position - 1);
}
}