✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
class A {}
class B extends A {}
public class Main {
public static void main(String[] args){
A a = new A();
B b = (B)a;
}
}