Printing numbers

Report a typo

How many numbers does the following code print?

for (int i = 0; i < 5; i++) {
    System.out.println(i);
    if (i < 3) {
        continue;
    } else {
        for (int j = 0; j < 5; j++) {
            System.out.println(j);
        }
    }        
}
Enter a number
___

Create a free account to access the full topic