Reverse The Array Logical Programming Questions In Java