Class Account

    • Constructor Detail

    • Method Detail

      • addTask

        public boolean addTask​(String task)
        Add a task to the task list.
        Parameters:
        task - the task is added to the task list
        Returns:
        true if the task is added false instead
      • removeTask

        public boolean removeTask​(String task)
        Remove the task from the task list.
        Parameters:
        task - the task is removed from the task list
        Returns:
        true if the task is removed false instead