public class ArrayDemo{ String[] arr = {"hello world", "hello java"} for(int i = arr.length-1; i > 0; i--){ System.out.print(arr[i]); }}