Package UI

Class LoginPage


public class LoginPage extends UserInterface
The LoginPage class provides methods for user login functionality. It extends UserInterface and includes methods to retrieve user ID and password input from the console.
  • Constructor Details

    • LoginPage

      public LoginPage()
  • Method Details

    • getUserId

      public static String getUserId()
      Prompts the user to enter their user ID.
      Returns:
      the user ID entered by the user
    • getPassword

      public static String getPassword()
      Prompts the user to enter their password.
      Returns:
      the password entered by the user