Question: 18 If B is a subclass of class A Given the following object: A a = new :O)B Which of the following is correct )

18 If B is a subclass of class A Given the following object: A a = new :O)B Which of the following is correct ) (1 ) ;B b = (B) a B b = a B b = (B) a; and B b = (B) new A(); are correct :O)B b = (B) new A :O)B b = new A
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
