Welcome to My_java, Dil’s complete Java learning repository ❤️ It contains all Java concepts, from basics → advanced, organized cleanly into folders.
- ✅ OOP (Encapsulation, Inheritance, Polymorphism, Abstraction)
- ✅ Collections (List, Set, Map, TreeMap, Iterator)
- ✅ Threads & Synchronization
- ✅ Exception Handling + Custom Exceptions
- ✅ File Handling
- ✅ Projects (Bank System, Agriculture, Hotel)
- ...and more!
Below is a full breakdown of each folder and what it contains.
- 1D & 2D Arrays
- Matrix Operations
- Searching & Sorting
- Array logic programs (reverse, rotate, frequency)
- for, while, do-while
- Nested loops
- Pattern printing
- if–else
- switch
- Menu-driven programs
- Classes & Objects
- Abstraction
- Encapsulation
- Inheritance
- Polymorphism
All programs based on private variables, getters, setters, and data-hiding.
Single, multilevel, hierarchical inheritance + super() chaining examples.
Method overloading + method overriding programs.
- try-catch-finally
- throw & throws
- Multiple catch
- Custom Exceptions
- Creating threads
- Runnable interface
- Synchronized blocks & methods
- Race condition handling
Programs demonstrating static vs non-static methods, return types, and parameters.
- String operations
- StringBuilder & StringBuffer
- Palindrome checks
- Substring & splitting
- Workers, owners, machines
- Skill levels, automation logic
- OOP + collections + file handling
- Savings Accounts + Transactions
- List & Map for storing records
- TreeMap sorting
- File writing (account_report.txt)
- Synchronization
- Billing system
- Interfaces
- Packages
- Menu handling
Used for file handling read-write operations.
Contains auto-generated compiled .class files (ignored normally).
Inside .github/workflows/ you have a Gradle CI workflow.
It performs:
- ⚡ Automatic build
- ⚡ Compile check
- ⚡ Continuous Integration