Computer Science, asked by Avhir4500, 1 year ago

Which of the following is the keyword used to refer a superclass constructor in subclass constructor ?(a) extends
(b) super(c) name of the superclass
(d) new

Answers

Answered by aqibkincsem
4

In Java programming, the keyword ‘super’ is used to refer a superclass constructor in a subclass constructor.

If the selected method overrides one of the methods of its superclass, the overridden method can be invoked through the use of the keyword ‘super’. Super is often used to refer to a hidden field. 

Similar questions