How-to articles, tricks, and solutions about JAVA
ArrayList of int array in java
To create an ArrayList of int arrays in Java, you can use the following syntax:
Base64 Java encode and decode a string
To encode and decode a string in Base64 in Java, you can use the java.util.Base64 class.
C++ performance vs. Java/C#
C++ is generally considered to be a faster and more performant language than Java or C#.
Calendar date to yyyy-MM-dd format in java
To format a Calendar date in the yyyy-MM-dd format in Java, you can use the SimpleDateFormat class.
Can I add jars to Maven 2 build classpath without installing them?
Yes, you can add jars to the Maven build classpath without installing them.
Can I catch multiple Java exceptions in the same catch clause?
Yes, you can catch multiple exceptions in the same catch clause in Java.
Can you find all classes in a package using reflection?
Yes, it is possible to find all classes in a package using reflection in Java.