Blog Index (A–Z)

Clear all
5 posts (filtered) Tag: #java
implements vs extends in Java
implements vs extends in Java

A practical, example-driven guide to implements vs extends in Java: what they mean, how they differ, when to use each, and how to fold good interface and inheritance…

Read more →
Category: Java & JVM #java #jvm #backend development #inheritance #interfaces #oop #implements #extends
int vs Integer in Java: What They Are, Why Both Exist, and How to Choose
int vs Integer in Java: What They Are, Why Both Exist, and How to Choose

Java was designed with primitives for performance and memory efficiency. Later, Java introduced generics, Collections, and object-oriented APIs that need reference types. Wrapper classes (like Integer) bridge primitives…

Read more →
Category: Java & JVM #java #jvm #backend development #ffi #foreign function interface #interop #abi #binary compatibility #primitives #boxing
OptionalInt vs Optional in Java: When to Use Which (and Why)
OptionalInt vs Optional in Java: When to Use Which (and Why)
Read more →
Category: Java & JVM #java #jvm #backend development #optional #null safety #optionalint #when #use
String vs StringBuilder vs StringBuffer in Java
String vs StringBuilder vs StringBuffer in Java
Read more →
Category: Java & JVM #java #jvm #backend development #strings #performance #string #stringbuilder #stringbuffer
Understanding ArrayLists in Programming
Understanding ArrayLists in Programming

An ArrayList is a resizable array implementation provided in many programming languages (for example, java.util.ArrayList in Java or List in C#). Unlike regular arrays that have a fixed…

Read more →
Category: Java & JVM #java #jvm #backend development #arrays #data structures #programming fundamentals #arraylist #java collections #arraylists #programming