Query in the output of below java code
public class qu11 {
int fun(int num)
{int count=0;
while(num>0)
{
count++;
num<<=1;
}
return count;
}
public static void main(String aa[])
{
qu11 obj=new qu11();
int output= obj.fun(435);
System.out.println(output);
}
} According to me the output of this question must be 8 but why is its output 23..