log4j.properties basic examples
log4j.properties basic examples. Output to the console and to the file.
Log4j Logging Levels
Log4j Logging Levels explained. For the standard levels, this is the order: ALL
How to send emails using JavaMail
How to send emails using JavaMail. Simple example using a gmail account and proxy settings if needed.
How to get input from Java Console
How to get input from Java Console. Examples using System.console
, Scanner
and BufferedReader
+ InputStreamReader
.
How to convert String to double in Java
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
How to convert String to float in Java using Float.parseFloat and Float.valueOf methods. Simple example provided.
Search
Other Posts
Follow Us On