The following commands must be executed to run the program:
javac MainProgram.java
java MainProgram
In this program, a user management system is made using adapter and mediator design patterns in java language. The program has certain basic features like keeping track of employees, verifying through their passwords, keeping different types of users - premium and normal, etc.