Login
Remember
Register
Ask a Question
Out of these, which one is the correct way of calling a constructor that has no parameters of the superclass A by the subclass B?
0
votes
asked
Aug 21, 2022
in
JAVA
by
sharadyadav1986
Out of these, which one is the correct way of calling a constructor that has no parameters of the superclass A by the subclass B?
1) superclass.();
2) super(void);
3) super();
4) super.A();
superclass
java
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Aug 21, 2022
by
sharadyadav1986
3) super();
...