Java Programming Language MCQ Java Constructor and Methods
⚠ Report ✓ Question Verified Copy Link
class A{ A(String s){} A(){} } 1. class B extends A{ 2. B(){} 3. B(String s){ 4. super(s); 5. } 6. void test(){ 7. // insert code here 8. } 9. }Which of the below code can be insert at line 7 to make clean compilation ?
Learn More MCQ Questions from Java Programming Language MCQ Java Constructor and Methods