Java_minor_project

WhatsApp Image 2026-05-19 at 1 19 01 PM

Java To-Do List Application – README

Overview

This is a simple console-based To-Do List application written in Java. The application allows users to:

It is designed for beginners learning Java fundamentals such as:


Features


Technologies Used


Project Structure

todo-list-java/
│
├── src/
│   ├── Main.java
│   ├── Task.java
│   └── TodoList.java
│
└── README.md

Installation

Prerequisites

Check Java installation:

java -version

How to Run

Compile the project

javac src/*.java

Run the application

java src/Main

Or run directly from your IDE.


Example Usage

===== TO-DO LIST MENU =====
1. Add Task
2. View Tasks
3. Complete Task
4. Delete Task
5. Exit

Choose an option: 1

Enter task title:
Finish Java project

Task added successfully!

Sample Classes

Task.java

public class Task {
    private String title;
    private boolean completed;

    public Task(String title) {
        this.title = title;
        this.completed = false;
    }

    public String getTitle() {
        return title;
    }

    public boolean isCompleted() {
        return completed;
    }

    public void markCompleted() {
        completed = true;
    }
}

Future Improvements


Learning Objectives

This project helps beginners practice:


License

This project is open-source and available under the MIT License.


Author

Created by Your Name.