Determine results of calling the method

Report a typo

Given the following recursive method.


public static long method(long n) {
    if (n == 1) {
        return 0;
    }
    return method(n / 2) + 1;
}

It takes a long number n >= 1 and returns a long result.

Select all correct results.
Select one or more options from the list
___

Create a free account to access the full topic