-
Core Java
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 » -
Core Java
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 » -
Software Development
The Library Paradox
I’ve started a few new projects recently, and faced a lot of bootstrap effort. Tricks of the trade, like efficiently…
Read More » -
Core Java
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 » -
Core Java
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 » -
Core Java
How To Validate Phone Numbers in Java (Regular Expression + Google libphonenumber)
A quick guide to how to validate phone numbers in java for different countries such as the USA, IN. Example…
Read More » -
Software Development
IntelliJ Plugin Development Tutorial Pt. 3 – Persisting State (Storage)
This post is the third part of the IntelliJ Plugin Development tutorial series. In the last two parts we learnt…
Read More » -
React.js
ReactJS DatePicker Example
In this example we will take a look at some of the options to display a DatePicker in our ReactJS…
Read More » -
Core Java
Java 14: Looking at the updated switch statement
JDK 14, released in March 2020, comes with an updated version of the switch statement. This has been a preview…
Read More »