Question: public class Class extends ClassA public classB ( ( Time left 0 0 : 1 2 : 0 3 int init = 1 0 ;

public class Class extends ClassA
public classB ((
Time left 00:12
:03
int init =10;
super (40);
O a.. The method super is not defined.
b.. No values may be passed to super.
O c.. Nothing is wrong with this code.
d.. The call to the method super must be the first statement in the constructor.

Step by Step Solution

3.50 Rating (163 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Ans No values may be passed to super Explanation In the given code in the line super... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!