class A {
}
class B extends class A {
}
class checkType
{
public static void main(String[] args)
{ A ObjA = new B();/// Here ObjA is of type A--> this fact is known at compile time. But here ObjA is pointing to new B(). Will this be known at compile time or run time. }
}