0 votes
in JAVA by
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();

1 Answer

0 votes
by

3) super();

Related questions

0 votes
asked Aug 21, 2022 in JAVA by sharadyadav1986
0 votes
asked Aug 21, 2022 in JAVA by sharadyadav1986
...