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

Self-contained learning resource for understanding core Java concepts.

Notifications You must be signed in to change notification settings

jagrutatwork/Java-Core-Concepts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

13 Commits

Repository files navigation

Java Core Concepts Learning Project

πŸ“Œ Overview

This project serves as a structured learning resource for core Java concepts. Each package represents a different Java topic, and within each package, there is a class with a main method that can be uncommented and executed to see the concept in action.

πŸš€ How to Use

  1. Explore Packages – Each package covers a different core Java topic.
  2. Uncomment & Run – Uncomment the main method in any class and execute it.
  3. Read Comments – Each class includes detailed explanations to reinforce learning.
  4. Expand the Project – Add new Java concepts over time to deepen understanding.

πŸ“š Concepts Covered

1️⃣ Comparable & Comparator (com.java.comparable_comparator)

  • Comparable – Interface for defining the natural ordering of objects.
  • Comparator – Interface for custom sorting logic.
  • Example: Sorting objects using both Comparable and Comparator.

2️⃣ Multithreading (com.java.multithreading)

  • Understanding threads, Runnable, and synchronization.
  • Implementing threads using:
    • βœ… Extending Thread class
    • βœ… Implementing Runnable interface
  • Example: Printing Even & Odd Numbers Using Two Threads
    • Two threads communicate using wait() and notify() to print numbers sequentially.

⚑ More concepts will be added as the project evolves! Stay tuned! πŸš€

About

Self-contained learning resource for understanding core Java concepts.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /