Skip to content

vallalapoojarani/Java_minor_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  • Add tasks
  • View all tasks
  • Mark tasks as completed
  • Delete tasks
  • Save tasks during runtime

It is designed for beginners learning Java fundamentals such as:

  • Classes and Objects
  • ArrayLists
  • Loops and Conditionals
  • User Input
  • Basic CRUD operations

Features

  • Add new tasks
  • Display all tasks
  • Mark tasks as completed
  • Remove tasks
  • Simple menu-driven interface
  • Lightweight and easy to understand

Technologies Used

  • Java
  • Java Collections (ArrayList)
  • Scanner for user input

Project Structure

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

Installation

Prerequisites

  • Java JDK 8 or later
  • Any Java IDE or terminal

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

  • Save tasks to a file
  • Add task deadlines
  • GUI using JavaFX or Swing
  • Task priority levels
  • Database integration

Learning Objectives

This project helps beginners practice:

  • Object-Oriented Programming (OOP)
  • Data structures in Java
  • Program flow control
  • Building console applications

License

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


Author

Created by Your Name.

About

# Java To-Do List Application – ## Overview This is a simple console-based To-Do List application written in Java. The application allows users to: * Add tasks * View all tasks * Mark tasks as completed * Delete tasks * Save tasks during runtime It is designed for beginners learning Java fundamentals such as: * Classes and Objects * A

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages