Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A curated collection of Core & Advanced Java programs — covering Basics, DSA, OOP, Multithreading, Collections, File I/O, Exception Handling, JDBC, and Servlets.

Akmalkhan0/Java-Programs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

12 Commits

Repository files navigation

Java Programs Snippets 🚀

A collection of standalone Java programs I’ve been building, practicing, and pushing over time. This repo serves as a learning archive as well as a reference library for anyone exploring Java Basics, DSA, OOP, and General Problem-Solving and also the advacnce topic like Muti-Threading, Garbage-Collection, OverRiding, OverLoading, Inheritence, Collection-FrameWork File-IO-Operations and Exception-Handling. Also it contains all the Advance Java JDBD , Servlet Programming snippit So i think it help a Lot.

  • Core Java Programs → Basics, loops, conditionals, Funtions, Operator, Arthematics And keywords.
  • OOP Concepts → Classes, Objects, Inheritance, Polymorphism, Abstraction, Interfaces, OverRidding, OverLoading And Constructor.
  • DSA Implementations → Sorting, Searching, LinkedList, Stack, Queue, Trees, Graphs.
  • Utility Programs → File handling, String manipulations, Number conversions, GarbageCollection, ExceptionHandling, Try-Catch-Finally, IO-Operations etc.

Each program is written as a standalone .java file so you can run them independently.


🛠️ How to Run

  1. Clone the repo:

    git clone https://github.com/akmalkhan0/Java-Programs.git
    cd Java-Programs
  2. Compile any program:

    javac ProgramName.java
  3. Run it:

    java InnerName

🌱 Learning Goals

  • Strengthen Core Java knowledge
  • Practice Data Structures & Algorithms
  • Build a foundation for full-stack Java development
  • Document learning with clean, organized code

📂 Repo Structure (Example)

📂 Java-Programs
├─── 📂 Adv_Java/ # Directory & some p*.java files
│ ├─── 📂 day1/ # Directory & some p*.java files
│ └─── 📂 day2/ # Directory & some p*.java files
├─── 📂 Core_java/ # Directory
│ ├─── 📂 day1/ # Directory & some p*.java files
│ ├─── 📂 day10/ # Directory & some p*.java files
│ │ ├─── 📂 server/ # Server-side code
│ │ │ ├─── 📄 Client.java # Java source file
│ │ │ ├─── 📄 DBConnection.java # Java source file
│ │ │ ├─── 📄 ojdbc8.jar # Oracle Drivers for JDBC Connection
│ │ │ └─── 📄 Server.java # Java source file
│ ├─── 📂 day11/ # Directory & some p*.java files
│ ├─── 📂 day12/ -
│ ├─── 📂 day13/ -
│ ├─── 📂 day14/ -
│ ├─── 📂 day15/ -
│ ├─── 📂 day16/ -
│ ├─── 📂 ..... -
│ ├─── 📂 day18/ - 
│ ├─── 📂 day19/ -
│ ├─── 📂 day2/ -
│ ├─── 📂 day3/ -
│ ├─── 📂 .... -
│ ├─── 📂 day5/ -
│ ├─── 📂 .... -
│ ├─── 📂 .... -
│ ├─── 📂 .... -
│ ├─── 📂 day*/ # Directory & some p*.java files
│ ├─── 📂 DSA/ # Directory
│ │ └─── 📂 STACK/ # Directory
│ │ ........
│ ├─── 📂 Pattern/ # Directory
│ │ ├─── 📄 p1.java # Java source file
│ │ ........ # some more files
│ └─── 📂 pattern copy/ # Directory
│ ├─── 📄 p1.java # Java source file
│ ....... # Some more Files
├─── 📄 .gitignore # Git ignore rules
└─── 📄 README.md # Project documentation

(you can reorganize your repo later into folders like this)


Every commit = one step ahead in my Java journey. Author : - Akmal Khan ❤️


About

A curated collection of Core & Advanced Java programs — covering Basics, DSA, OOP, Multithreading, Collections, File I/O, Exception Handling, JDBC, and Servlets.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /