Java SE 8 Programmer 1Z0–808 Practice Full Test 1

© examsiri.com
Question : 6 of 84
 
Marks: +1, -0
Given:class CD {
  int r;
  CD(int r) {
    this.r = r;
  }
}

class DVD extends CD {
  int c;
  DVD(int r, int c) {
    // line n1
  }
}

And given the code fragment:
DVD dvd = new DVD(10, 20);

Which code fragment should you use at line nl to instantiate the dvd object successfully ?
Go to Question: