}/* class Foo ends */
A.Compilation fails.
B.An error occurs at runtime.
C.It prints "foobarhi"
D.It prints "barhi"
Answer:C
}/* class Foo ends */
A.Compilation fails. B.An error occurs at runtime. C.It prints "foobarhi" D.It prints "barhi"