Log4j Logging Levels

  • 08 February 2017
  • ADM

Log4j Logging Levels explained. For the standard levels, this is the order: ALL


How to get input from Java Console

  • 04 February 2020
  • ADM

How to get input from Java Console. Examples using System.console, Scanner and BufferedReader + InputStreamReader.


How to convert String to double in Java

  • 14 October 2016
  • ADM

How to convert String to double in Java using Double.parseDouble and Double.valueOf methods. Simple example provided.


How to convert String to float in Java

  • 13 October 2016
  • ADM

How to convert String to float in Java using Float.parseFloat and Float.valueOf methods. Simple example provided.


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.