A combination lock has the following basic properties: the combination (a sequence of three numbers) is hidden; the lock can be opened by providing the combination; and the combination can be changed, but only by someone who knows the current combination. Design a
class with public methods open and changeCombo and private data fields that store the combination. The combination should be set in the constructor.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here