Core Java
-

JVM Garbage Collection and Optimizations
Overview When troubleshooting systems for performance-related issues, memory optimizations are a place that needs a deep analysis of what each…
Read More » -

Be Careful When Modifying Data While Using a Java Iterator
As this semester begins to wrap up, I figured I’d share a little story of how I got very, very…
Read More » -

Java 8 Stream Intermediate Operations (Methods) Examples
A Complete guide to Java 8 Streams intermediate operations. List of all built-in Stream API Intermediate operations(methods) with examples. 1.…
Read More » -

Java UnknownHostException – Invalid Hostname for Server – How to Fix It?
A quick guide to An UnknownHostException and it is thrown if a java.net.UnknownHostException occurs while creating a connection to the…
Read More » -

How to process images and videos within Java JVM
Processing of images – let alone videos – within the Java JVM has always been a challenging task. ImageIO classes have come…
Read More » -

7 Examples to Read File into a byte array in Java
Hello guys, Java programmers often face scenarios in real-world programming, where they need to load data from a file into…
Read More » -

Mockito Matchers Precedence
This post is opinion. Let’s look at the verify method in Mockito for testing in Java. Example: verify(myMock).someFunction(123) – expects…
Read More » -

ArrayList clone() – ArrayList deep copy and shallow copy
Example program to ArrayList clone method example. ArrayList deep copy and shallow copy examples on Student Objects. 1. Introduction ArrayList…
Read More » -

Java 8 – Collections sort() method – List Custom Sort Example By Employe Objects (Id, Name, Age)
A complete guide to Sorting Custom Objects in java. Collections.sort() method does the sorting based on Comparable or Comparator implementation.…
Read More »

