May 6, 2022
Given the Period record
record Period (int minutes) {
// add new code here
}
and this client code
var period = new Period();
What should be added at “// add new code here” to allow the client code to create a period with minutes set to zero? Choose one.
A. Period {
minutes = 0;
}
B. Period() {
this.minutes = 0;
}
C. Period() {
this(0);
}
D. Period() {
}
·ꓛ uoᴉʇdo sᴉ ɹǝʍsuɐ ʇɔǝɹɹoɔ ǝɥꓕ ·uoᴉsnʅɔuoꓛ