Skip to content

A complete collection of Java programs covering OOPs concepts, Data Structures, Collections Framework, Annotations, and other core Java basics. Useful for students, learners, and interview preparation.

Notifications You must be signed in to change notification settings

dpallab/Java-Programming-Examples-Repository

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

☕ Java Programming Examples Repository

Welcome to the Java Programming Examples Repository! 🎉
This repository is a complete collection of Java codes including OOPs concepts, Data Structures, Collections Framework, Annotations, and Core Java basics.

It is designed for:

  • 📚 Students learning Java programming
  • 🧑‍💻 Beginners who want hands-on coding practice
  • 🎯 Interview Preparation for coding rounds
  • 👨‍🏫 Teachers/Trainers to share Java examples

✨ What’s Inside?

This repository covers:

🔹 1. Core Java Basics

  • Hello World Programs
  • Variables, Data Types, and Operators
  • Conditional Statements (if, else, switch)
  • Loops (for, while, do-while, enhanced for loop)
  • Arrays and Strings
  • Exception Handling
  • File Handling and I/O

🔹 2. Object-Oriented Programming (OOPs)

  • Classes and Objects
  • Constructors and Destructors
  • Inheritance (Single, Multiple via Interfaces, Multilevel, Hierarchical)
  • Polymorphism (Compile-time and Runtime)
  • Encapsulation
  • Abstraction
  • Interfaces and Abstract Classes
  • Method Overloading & Overriding

🔹 3. Data Structures in Java

  • Arrays and 2D Arrays
  • Linked Lists (Singly, Doubly, Circular)
  • Stacks and Queues
  • Priority Queue
  • Binary Trees and Binary Search Trees (BST)
  • Graphs (DFS, BFS)
  • Sorting Algorithms (Bubble, Insertion, Selection, Quick, Merge)
  • Searching Algorithms (Linear Search, Binary Search)

🔹 4. Collections Framework

  • List (ArrayList, LinkedList, Vector, Stack)
  • Set (HashSet, LinkedHashSet, TreeSet)
  • Map (HashMap, LinkedHashMap, TreeMap, Hashtable)
  • Queue (PriorityQueue, Deque, ArrayDeque)
  • Iterators and Enhanced For Loop

🔹 5. Java Annotations & Advanced Concepts

  • @Override, @Deprecated, @SuppressWarnings
  • Custom Annotations
  • Reflection API
  • Generics
  • Multithreading Basics
  • Synchronization

📂 Repository Structure

About

A complete collection of Java programs covering OOPs concepts, Data Structures, Collections Framework, Annotations, and other core Java basics. Useful for students, learners, and interview preparation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages