Java 8 Leap year check using Year class from java.time api
How to easily check if a year is a leap or not using the Java Year class from the java.time API.
Java -Day of the week using Java 8 DayOfWeek Enum
How the day of the week using Java 8 DayOfWeek Enum with examples.
Java - Calculate time taken for the code to execute in milliseconds or nanoseconds
Java tutorial to calculate the time taken for a code to execute in milliseconds or nanoseconds.
Java Read and Write Properties file with Examples
Let us take a look at Java Properties Class and how to read and write a properties file using examples.
Deep Dive: Why avoid java.util.Date and Calendar Classes
Let us take a deeper look at the drawbacks of java.util.Date and Calendar classes and why they should be avoided.
Formatting Double in Java [Examples]
How to format a Double in Java using DecimalFormat class with examples.
Java SE 8 Update 301 available with various bug fixes and security improvements
Java SE 8 update 301 build 09 is now available for download that fixes various bugs and security improvements.
Add newline character Java code example (\r \n \r\n)
What are newline characters and how to add a new line character in Java code with examples?
Get the current timestamp in Java
This article demonstrates how you can get the current timestamp in Java Programming with code examples.
[Solution] Convert byte array to String in Java
This tutorial shows how you can convert byte[] array to String in Java with code examples.
Fix java.net.ProtocolException: Invalid HTTP method
How to fix java.net.ProtocolException: Invalid HTTP method exception.
How to fix Java HTTP java.net.UnknownHostException
How to fix java.net.UnknownHostException while dealing with Java HTTP connections.
[Fix] java.net.MalformedURLException: unknown protocol
How to fix java.net.MalformedURLException: unknown protocol error.
java: unclosed string literal [Error]
How to resolve java: unclosed string literal error in IntelliJ IDEA IDE while running Java code.