Closed ryanlimdx closed 5 months ago
Abstract classes may not necessarily implenent the interface methods, and the code snippet does not suggest it does either, so it wouldn't be right to assume that the abstract ProgressWatcher
implements update()
.
Yes, as mentioned I believe B would be the correct answer due to ProgressWatcher not requiring to implement update() this can also be deduced from the implementation of ProgressWatcher in Part 2
I see..thank you!
Hi! May I ask why B instead of E is selected? Since ProgressWatcher implements Watcher, shouldn't it indicate the update method as well? In option B, there is the operations section which is empty while in option E, there is no visibility attribute standardisation (the update method do not have a visibility)