how to get the largest sum of indexes in array that have a negative numbers in java : <p>hy , i'm a beginner java student and we were asked to take the sequence of indexes with the largest sum , the array have negative and positive  numbers and may contain 0
our job is to get the largest sum of indexes that are in a row and it can be one index , with method not with algorithm because we haven't learned that yet
thank you for your help  </p>
