Home  >  Q&A  >  body text

Design a user class USER. The variables in the class include user name, password and variables that record the number of users. Define class constructors, getters, and setters

Design a user class USER. The variables in the class include user name, password and variables that record the number of users. Define the constructor method of the class, the methods for getting and setting passwords, and the methods for displaying user information.

李雅琦李雅琦1371 days ago1874

reply all(1)I'll reply

  • 天蓬老师

    天蓬老师2020-12-23 14:00:26

    Are you asking others to write a complete class for you to use? This is not the style of members of php Chinese website. The correct way is to write first and ask for help if you encounter difficulties

    reply
    0
  • Cancelreply