Respuesta :
Answer:
Option c is the correct answer for the above question.
Explanation:
- The super is a keyword in java which is used to call the parent class constructor from the child class constructor, but the only one thing is important to write the super is the constructor that the super keyword needs to be written as a first-line where it is used.
- The above question has three option which holds the constructor, in which option 1 and 2 holds the super keyword as the last line. So this option is not to hold the correct constructor.
- But option 3 will hold the Super as the first line, Hence this is the correct use of the constructor.
- And Only option c states about option 3 while the other is states about the other option. Hence option c is the correct answer.
The correct implementation of the constructor for FrozenYogurt is (c)
The definition of the FrozenDeser is given as:
public class FrozenDesert{
public FrozenDesert(){
System.out.println("Yum");} }
To implement the constructor of the class, we make use of the following syntax
public FrozenYogurt() { super();
//Operation
}
Using the above syntax, we can conclude that the correct implementation of the constructor for FrozenYogurt is (c)
Read more about computer programs at:
https://brainly.com/question/24833629