Posts in technical

Java Enums

Master Java enums: type-safe enumerated constants with underlying int values, custom fields, methods, and interfaces for advanced enum patterns.

Exception Best Practices: Patterns and Anti-Patterns in Java

Learn proven strategies for exception handling in Java: avoiding silent failures, meaningful error messages, chained exceptions, and production-ready patterns.

For Loops in Java

Master Java for loops: traditional for loops, enhanced for-each syntax, when to use each variant, and common iteration patterns with performance considerations.

HashSet in Java

Learn HashSet: unique element collections backed by HashMap, contains and add operations, and the internal ELEMENT object pattern.

Inheritance in Java

Master Java inheritance: extends keyword, super, method overriding, and substitutability, with practical guidance for reliable class hierarchies.