java – System.out.println not recognized in Pramp?

Can anyone point out why I’m getting an error for System.out.println? I’m trying to test the output. Here is my code:

import java.io.*;
import java.util.*;


class Solution {

  static int() getIndicesOfItemWeights(int() arr, int limit) {
    for (int i = 0; i < arr.length; i++){
      for(int j = i+1; j < arr.length; j++){
        if (arr(i) + arr(j) == limit){
          return new int() {i, j};
        }
      }
    }
  }

  public static void main(String() args) {
    System.out.println(getIndiciesOfItemWeights((1,3,2),4));
  }
}

This is the error I’m getting:
/home/pramper/src/main/java/Solution.java:19: error: illegal start of expressionSystem.out.println(getIndiciesOfItemWeights((1,3,2),4));^