Skip to content

VirajParmar96/Java-Programs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💻 100 Java Programs: From Basics to Advanced

Welcome to the ultimate collection of 100 Java programs! This repository is designed to guide learners from absolute basics to advanced topics in Java. Whether you're preparing for interviews, strengthening your fundamentals, or just practicing, this is the perfect place to start.


📚 What’s Inside?

This repository contains:

  • ✅ Beginner programs to understand Java syntax
  • ✅ Object-Oriented Programming examples
  • ✅ Programs on Arrays, Strings, Patterns, Math
  • ✅ Data Structures & Algorithms (Sorting, Searching, etc.)
  • ✅ Java Collections, File Handling, Multithreading
  • ✅ A Mini Project at the end
  • ✅ Organized folders and clean code

📂 Folder Structure

Folder Description
basics/ Basic Java programs (input/output, math, etc.)
loops-patterns/ Loops, patterns, and number-based logic
arrays/ Array manipulation programs
strings/ String operations and manipulations
oops/ Object-oriented programming concepts
exception-fileio/ Exception handling and file operations
collections/ Java Collections Framework programs
algorithms/ Searching, sorting, matrix, and other logic
advanced/ Threads, GUI, lambda, and more
project/ A mini console-based project

🧠 Program List

Click here to view all 100 Java Programs »


🚀 Getting Started

✅ Requirements

  • Java JDK 8 or higher
  • A Java IDE (IntelliJ, Eclipse, or VS Code)
  • Basic knowledge of Java syntax

▶️ How to Run a Program

  1. Navigate to the folder:
cd basics
  1. Compile the Java file:
javac HelloWorld.java
  1. Run the compiled class:
java HelloWorld

🌟 Show Some Love

If you like this repository:

⭐ Star this repository

🧑‍💻 Follow me on GitHub

🔁 Share it with your friends

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages