Greetings All,
I have a brain fart. I am trying to print the first and second number in the array which is [0] and [1]. I have the for loop going through each element in the array integersCount[] so I can find those positions. But do I need an if statement to find that position? Or can I just do a System.out.println(Arrays.toString[0]) and System.out.println(Arrays.toString[1])? This is just my static method(last piece of the code)to print out just those positions from the integersCount[] array for this particular class. Any suggestions possibly?
public static void SmallestDelta(int[] integersCount)
{
for(int i = 0; i < integersCount.length; i++ )
{
if
{
}
}