Create to do list using Java


To-Do List application using Java, This implementation uses a console-based approach and allows users to:
Add tasks
View tasks
Mark tasks as completed
Delete tasks
Exit the program
Latest Posts
Quick Links
Create To Do List using Java
Follow Us
Explanation of the Code:
Task Class:
Stores task description and status (completed or not).
Methods: markAsCompleted(), toString(), etc.
ToDoList Class:
Uses an ArrayList<Task> to store tasks.
Scanner for user input.
Main Menu (Loop Until Exit):
1. Add Task → User inputs a task, added to the list.
2. View Tasks → Displays all tasks.
3. Mark Task as Completed → Marks selected task as done.
4. Delete Task → Removes selected task.
5. Exit → Ends the program.
Contact Info
© 2024. All rights reserved.
Navigate
Thanks 🙏 for visiting SimpleCode Join telegram (link available -Scroll Up) for source code files , pdf and
Any Promotion queries 👇