とある配列を戻り値として呼び出し元に返すメソッド

public static int[] number() {
  int[]ans = new int() ;
  (略)
  return ans ;
}

returnのとこに[]をつける(ans[])とエラーになるのは何ででしょうか?