java-programs-collection

๐Ÿš€ Java Programs Collection

A comprehensive collection of Java programs demonstrating core and advanced concepts including Collections, Database (JDBC), Multithreading, and Swing GUI.

๐Ÿ“Œ Features


๐Ÿ› ๏ธ Technologies Used

๐Ÿ“ Project Structure

Java-Programs-Collection/
โ”‚โ”€โ”€ collection/
โ”‚โ”€โ”€ database/
โ”‚โ”€โ”€ threads/

โš™๏ธ How to Run

1๏ธโƒฃ Clone the repository

git clone https://github.com/your-username/your-repo-name.git

2๏ธโƒฃ Compile Java files

javac -d bin src/yourpackage/*.java

3๏ธโƒฃ Run the program

java -cp bin yourpackage.ClassName

๐Ÿงช Database Setup

  1. Install PostgreSQL
  2. Create database:
    CREATE DATABASE javadb;
    
  3. Update your DB credentials in code:
    String url = "jdbc:postgresql://localhost:5432/javadb";
    String user = "your_username";
    String password = "your_password";
    

    ๐Ÿค Contributing

    Feel free to fork this repository and add more Java programs!


๐Ÿ“œ License

This project is open-source and free to use.


๐Ÿ‘ฉโ€๐Ÿ’ป Author

Payal kor TY BCS Student | Aspiring Full Stack Developer ๐Ÿš€