All indices video doubts

in the video of returning all indices how are we converting int to int[]. because in my ide it is giving as incompatible conversion

1 Like