56. What will be the output of the following code?

public class Test
{
public static void main(String[] args) {

class Foo
{
public int i=3;
}

Object o = (Object)new Foo();
Foo foo = (Foo)o;
System.out.println( foo.i );
}
}

Select 1 correct answer:
A. Compile time error.
B. Run time error.
C. 3