can we return 7 elements of an int array using return statement. if not, please help?

A return statement can return one item. That item could be an array with any number of elements.
Think of what you can put on the right hand side of an assignment statement statement.