Class
CombinationLock
implementation (cont.)
n
public
CombinationLock (
int
combination) {
n
this
.combination = combination;
n
isOpen =
false
;
n
}
n
We could write the second assignment
as
u
this.
isOpen =
false
;
n
But there is no ambiguity, so it is not
needed.
n