0:00
Here.
00:01
Okay, so for this one, we have to figure out which of the following choices, a, b, c, d, or e correctly represents our implementation code for our parameterized constructor.
00:14
Now, off to the right, i have underlined in red, our parameterized constructor, and within these parentheses are our parameters, integers h, m, and s.
00:25
Now, looking at choice a, we can already see that this is not the right answer.
00:31
Because it sets our variables to zero.
00:35
Now, this would actually be the code for our default constructor, as it doesn't even reference our parameters.
00:41
As you can see, our parameters are hm and s, and their integers.
00:44
This just sets our variables to zero.
00:48
So that's not right.
00:49
Choice b is actually our correct answer because it sets our private instance variables to our parameter values.
01:00
So we have our private.
01:01
Instance variables right here and it sets them to our parameter variables and there's hm and s now so yes choice b is our correct answer now looking at choice c the reason why choice c is wrong is because it does not set our parameter values to hours minutes or seconds as a matter of fact it doesn't even reference our parameters at all choice d is also wrong it's close b...