How-to articles, tricks, and solutions about JAVA
How to parse JSON in Kotlin?
To parse JSON in Kotlin, you can use the JSONObject class from the org.json package.
How to subtract X day from a Date object in Java?
To subtract a certain number of days from a Date object in Java, you can use the Calendar class.
Eclipse/Java code completion not working
If code completion is not working in Eclipse, there are a few possible reasons:
Java - How to create new Entry (key, value)
To create a new key-value pair in a Map in Java, you can use the put method.
eclipse won't start - no java virtual machine was found
There are a few possible reasons why Eclipse might not be able to find a Java Virtual Machine (JVM).
What is the difference between JSF, Servlet and JSP?
JavaServer Faces (JSF) is a user interface (UI) framework for building web applications.
&& (AND) and || (OR) in IF statements
In Java, the && and || operators are used in if statements to combine multiple conditions.