Class UserApp


public class UserApp extends Object
A User App class that is utilized to display User app menu
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) int
    An integer variable to hold the choice
    (package private) static Scanner
    A scanner object to get input and output from user
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Method to print user menu
    void
    Method to display user menu if the input is less than or equal 10

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • choice

      int choice
      An integer variable to hold the choice
    • sc

      static Scanner sc
      A scanner object to get input and output from user
  • Constructor Details

    • UserApp

      public UserApp()
  • Method Details

    • Process

      public void Process()
      Method to display user menu if the input is less than or equal 10
    • DisplayUserMenu

      public void DisplayUserMenu()
      Method to print user menu