Display double in 2 decimal points in Java
This tutorial will show you how display double in 2 decimal points in Java using String format method and DecimalFormat class.
Autoboxing and Unboxing in Java
In Java, autoboxing is the automatic conversion between the primitive types and their corresponding object wrapper classes. Unboxing is the other way around.
How to read and write files in Java
How to read and write files in Java using BufferedReader and BufferedWriter. The example highlights the classic resource release and try-with-resource approach.
How to read CSV file in Java
How to parse CSV file in Java and display all the value.The solution treats the case when a column contains the delimiter and the double quote character.
How to read and write JSON with json-simple
How to read and write JSON with json-simple library. Full example how to create an object, write it to a file, read it and use it.
Luhn algorithm implementation in Java
Luhn algorithm implementation in Java with example for both calculate the check digit and validate the number.