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 convert String to long in Java
How to convert String to long in Java using Long.parseLong and Long.valueOf methods. Simple example provided.
How to convert String to int in Java
How to convert String to int in Java using Integer.parseInt and Integer.valueOf methods. Simple example provided.
How to convert object to / from JSON using Jackson
How to convert Java object to / from JSON string using Jackson library. Simple example including embedded object.
How to convert object to / from JSON using Gson
How to convert Java object to / from JSON string using Gson library. Simple example including embedded object.
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.