Open reiddouglas opened 7 hours ago
Create a factory method for creating new user accounts. The factory should be given the type of user as an input and return a new user subclass (nurse, doctor) as an output.
Create a factory method for creating new user accounts. The factory should be given the type of user as an input and return a new user subclass (nurse, doctor) as an output.