Determine the output

Report a typo

What does the following code output?

String str = "Hello, Java";
        
int i = str.length() - 1;
while (i >= 1) {
    System.out.print(str.charAt(i));
    i--;
}
Select one option from the list
___

Create a free account to access the full topic