Autoboxing and Unboxing in Java

  • 12 October 2016
  • ADM

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

  • 23 November 2020
  • ADM

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

  • 23 November 2020
  • ADM

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

  • 17 July 2017
  • ADM

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

  • 15 June 2016
  • ADM

How to convert Java object to / from JSON string using Gson library. Simple example including embedded object.


How to read CSV file in Java

  • 27 May 2016
  • ADM

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.