This Java program should be written using Eclipse or onlineIDE:
Specify, Design and implement a class that can be used in aprogram that simulates a combination Lock.
The Lock has a circular knob with the numbers 0 through 39marked on the edge. It has a 3-number combination which will becalled x, y, z.
To open the lock, you must turn the knob clockwise at least oneentire revolution, stopping at x at the top; then you turn the knobcounter-clockwise, stopping the second time that the y appears atthe top.
Finally, you will turn the knob clockwise again, stopping thenext time that z appears at the
PayPal Gateway not configured
PayPal Gateway not configured