Skip to content
code2java.com
  • HOME
  • ABOUT
code2java.com
  • HashMap Internals | Code2java
    Java | Java Examples | JDK 8

    HashMap in Java Explained – Internal Working, Evolution & Real Insights

    ByNikhil Naoghare March 13, 2016March 30, 2026

    Java HashMap uses
    🔑 Key → Hash → Bucket flow (core hashing concept)
    🧱 Bucket array structure (internal storage)
    🔗 Collision handling (linked list)
    🌳 Java 8 enhancement (tree structure after threshold)
    ⚡ Performance hint (O(1))

    Read More HashMap in Java Explained – Internal Working, Evolution & Real InsightsContinue

  • sealed classes | code2java
    Java | Java Examples | JDK 17

    Sealed Classes in Java – Complete Guide with Real-World Examples

    ByNikhil Naoghare March 29, 2026March 30, 2026

    If you’ve ever designed a class hierarchy and thought:
    “I wish I could allow only specific classes to extend this…”
    Then sealed classes are exactly what you need.
    This feature is not just syntactic sugar — it fundamentally improves how we model real-world problems in Java.

    Read More Sealed Classes in Java – Complete Guide with Real-World ExamplesContinue

  • Pattern Matching | Code2Java
    Java | JDK 17 | JDK 21

    Java Pattern Matching (Java 16 → 21)

    ByNikhil Naoghare March 29, 2026March 29, 2026

    If you’ve been writing Java for a while, you probably remember this annoying pattern:

    👉 Check type using instanceof
    👉 Cast manually
    👉 Then use the object

    Pattern Matching removes this boilerplate and makes your code cleaner, safer, and more readable.
    Let’s go step by step and understand how it evolved.

    Read More Java Pattern Matching (Java 16 → 21)Continue

  • JDK 21 features | code2java
    Java | JDK 21

    JDK 21 Features

    ByNikhil Naoghare March 29, 2026March 29, 2026

    If you’ve been working with Java for a while, you probably know that every LTS release brings something meaningful.
    👉 And JDK 21 is one of those releases that actually changes how we write concurrent and scalable applications.
    This isn’t just about syntax sugar — it’s about solving real problems like thread scalability, readability, and safer concurrency.

    Read More JDK 21 FeaturesContinue

  • JDK 17 features | Code2java
    Java | JDK 17

    JDK 17 Features

    ByNikhil Naoghare March 22, 2026March 29, 2026

    A complete step-by-step guide to Java 17 features covering what, why, when to use, real-world use cases, and practical code examples. Ideal for developers moving from Java 8 to modern Java

    Read More JDK 17 FeaturesContinue

  • JDK 11 vs JDK 8
    Java

    JDK 11 vs JDK 8

    ByNikhil Naoghare March 22, 2026March 29, 2026

    Java 8 was a revolutionary release, but Java 11 refined and modernized the platform with cleaner APIs, better performance, and long-term support. In this guide, we’ll compare Java 8 vs Java 11 across key components with practical examples and internal explanations so you clearly understand what changed and why it matters. 🚀

    Read More JDK 11 vs JDK 8Continue

  • JDK 15 Features | Code2java
    Java | Java Examples

    JDK 15 features

    ByNikhil Naoghare March 22, 2026March 29, 2026

    JDK 15 brings several exciting features that improve developer productivity and JVM capabilities. From cleaner multi-line strings to powerful class modeling and JVM enhancements, this guide explains everything with practical examples and internal insights. 🚀

    Read More JDK 15 featuresContinue

  • JDK 11 features | code2java
    Java

    JDK 11 features

    ByNikhil Naoghare March 22, 2026March 29, 2026

    JDK 11 is a game-changing Long-Term Support release that brings modern APIs, performance improvements, and cleaner coding practices to Java developers. In this guide, we’ll break down the most important features with real-world examples and explain how they work internally so you can confidently use them in production. 🚀

    Read More JDK 11 featuresContinue

  • Concurrency in Java | code2java
    Java | Java Examples

    Concurrency in Java – Developer’s Perspective

    ByNikhil Naoghare March 22, 2026March 29, 2026

    Why Concurrency Even Matters If you’ve been writing Java for a while, you’ve already been using threads — even if you didn’t realize it. That main() method? It runs on a thread. But things get interesting when your application needs to do more than one thing at a time. Think about: If everything runs in…

    Read More Concurrency in Java – Developer’s PerspectiveContinue

  • flutter

    CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate

    ByNikhil Naoghare August 27, 2021August 27, 2021

    If you are using flutter with REST APIs, you may come across “CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate” issue.

    Read More CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificateContinue

  • Maven Project Code2java
    Apache | Eclipse | Java | Java Examples | Maven | Uncategorized

    Maven project in Eclipse

    ByNikhil Naoghare August 13, 2021March 29, 2026

    In this blog we would be discussing about one of the ways of creating a Maven project in Eclipse.

    Read More Maven project in EclipseContinue

  • Java | RCP | SWT

    RCP SWT export grid data

    ByNikhil Naoghare December 13, 2017October 3, 2019

    Hello Friends, This is one of my tutorials for people working with RCP, SWT, JFace to export grid data. It is very obvious to display data in a grid/tabular form. Most of the times, user wants to export the data which is being displayed so how to export grid data from the grid to an…

    Read More RCP SWT export grid dataContinue

Page navigation

1 2 3 … 8 Next PageNext

© 2026 Code2Java | LinkedIn

Scroll to top
  • HOME
  • ABOUT