Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Main {
- public static void main(String[] args) {
- int[] numbers = { 8, 9, 4, 7, 6, 1, 5, 3 };
- for (int i = numbers.length - 1; i > -1; i--) {
- System.out.print(numbers[i] + " ");
- }
- System.out.println();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement