Task List Java Application This Java application allows users to manage their tasks efficiently. Users can add tasks, remove tasks, and list all the tasks they have added. The program comes with a simple text-based user interface for ease of use.
Features Add Task: Users can add tasks to the list by providing a task description. Remove Task: Users can remove tasks from the list by specifying the task number. List Tasks: Users can view all the tasks currently in the list. Simple Text-based Interface: The program has a straightforward interface for user interaction. Getting Started To run this application, follow these steps:
Clone the Repository: Clone this repository to your local machine using the following command:
bash Copy code git clone https://github.com/your-username/task-list-java.git Navigate to the Directory: Navigate to the directory where you cloned the repository.
bash Copy code cd task-list-java Compile the Code: Compile the Java files using the following command:
Copy code javac TaskListApp.java Run the Application: Run the compiled Java program using the following command:
Copy code java TaskListApp Usage Once the program is running, you can interact with it using the following commands:
To add a task: Type add followed by the task description and press Enter. To remove a task: Type remove followed by the task number and press Enter. To list all tasks: Type list and press Enter. To exit the program: Type exit and press Enter. Example mathematica Copy code $ java TaskListApp Welcome to Task List!
Commands:
- add : Add a new task
- remove <task_number>: Remove the task with the specified number
- list: List all tasks
- exit: Exit the program
Enter a command: add Complete the Java project Task added successfully!
Enter a command: add Study for the exam Task added successfully!
Enter a command: list Tasks:
- Complete the Java project
- Study for the exam
Enter a command: remove 1 Task removed successfully!
Enter a command: list Tasks:
- Study for the exam
Enter a command: exit Goodbye! Contribution Contributions are welcome! If you have any ideas or suggestions to improve this application, feel free to open an issue or submit a pull request.