Question: 1 8 . ( 3 pts ) Consider the following class definition: ( CLO - 1 ) public class ACLassprivate int x; protected int y;public
pts Consider the following class definition: CLOpublic class ACLassprivate int x; protected int y;public AClass int a int bXa ;b; various methods.. Assume that you want to create class BClass that extends AClass. BClass will have a third int instance variable, zWhich of the following would best define the constructor for BClass?Apublic BClass int a int b int csuper a b c ;B public BClass int a int b int cz C;C public BClass int a int b int cYZb;D public Blass int a int b int cZ C;public Blass int a int b int csuper ;
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
