Question 31 · 200 in bank
Given:
Which code fragment should you use at line n1 to instantiate the dvd object successfully?
Show answer
Answer: C
Explanation
C is the correct answer. --- A is incorrect as there is no default constructor available in CD class. B is incorrect as you cannot have two constructor calls D is incorrect as call to super must be first line of constructor
Source: Adapted from community discussion — Stewart125