Core Java
-
The 8 Primitive Types in Java
As I begin to edit my Java Basics series from a couple years ago, I thought it would make sense…
Read More » -
Java Projects: Book Review
This article is about the book Java Projects Second Edition, by Peter Verhas that I wrote last year. The aim…
Read More » -
Object and Index Streams
I was going to write a post about how to blend a stream with the indices of each element, but…
Read More » -
How To Deep Clone An Object Using Java In Memory Serialization
In my previous articles, I had explained the difference between deep and shallow cloning and how copy-constructors and defensive copy…
Read More » -
How to Customize Serialization In Java By Using Externalizable Interface
In a previous article Everything About Java Serialization Explained With Example, I explained how we can serialize/deserialize one object usingSerializable…
Read More » -
What is Serialization? Everything You Need to Know About Java Serialization Explained With Example
In a previous article, we looked at 5 different ways to create objects in java, I have explained how deserialising…
Read More » -
Java: An Optional Implementation of Optional
The class java.util.Optional is implemented as a single immutable concrete class that internally handles two cases; one with an element…
Read More » -
Java: Benefit from Inline Class Properties Starting from Java 8
In some years, Java will hopefully have an “inline class” feature which solves many challenges with the current state of…
Read More » -
Why Declarative Coding Makes You a Better Programmer
Declarative solutions with functional composition provide superior code metrics over legacy imperative code in many cases. Read this article and…
Read More »