(Choose 1 answer)
class Base
What will happen if you attempt to compile and run the following code?
class Sub extends Base {}
class Sub2 extends Base {}public class CEX{
public static void main(String argv[]){
Base b=new Base();
Sub s=(Sub) b;
}
}
A. Compile and run without error
B. Compile time Exception
C. Runtime Exception