import java.nio.*; import java.nio.IntBuffer; public class IndexValue { public static void main(String[] argv){ int index = 0; int[] array = new int[] { 7, 5, 4, 3 }; IntBuffer intBuf = IntBuffer.wrap(array); System.out.println("Value at index " + index + " : " + intBuf.get(index)); } }