Please changes the array as return type in jdk 1.7


#1

It wasted my time and I had to d it again even my solution was correct.
I was just not able to return the empty array.
Thanks,


#2

u can do it like this:
return (new int[0]);