JRJosé Ramón (JR)inblog.programwithjr.com·Apr 2 · 6 min readImproved Collections in Java 21Introduction In Java, there are three fundamental abstractions for grouping data: List<E>: Index-ordered collection that allows duplicates. Elements maintain their insertion position (ArrayList, Link00
JRJosé Ramón (JR)inblog.programwithjr.com·Jan 3 · 8 min readJava Data Types at a glanceJava Data Types Java requires specifying the data type when declaring a variable.This has two goals: To know how many memory locations are used. To know which operations can be performed on the data00
JRJosé Ramón (JR)inblog.programwithjr.com·Jul 22, 2025 · 7 min readHow to create a class - Best PracticesIntroduction We will explain how to create an object in Java. It has evolved from the old Javabeans to the use of features in the latest versions of the language. Setters and getters We have a Person 00
JRJosé Ramón (JR)inblog.programwithjr.com·Jun 18, 2025 · 6 min readHash Tables and hashCode()Introduction When creating a class in Java, there are three methods that are commonly overridden: equals() hashCode() toString() This article focuses on the hashCode() method. How a hash table wo00
JRJosé Ramón (JR)inblog.programwithjr.com·May 2, 2025 · 6 min readMastering Object Equality in JavaIntroduction The == operator is used to compare references, while the equals method is used to compare the contents of objects. Comparison for predefined types Primitive types The comparison operator 00