Skip to content
Home » Quick Tips

Quick Tips

multicolored mixing console

How to Load Properties From a File in Java.

Here’s how to load properties from a file in Java. Given the following src/main/resources/config.properties file: The following code will output: {pool-size=42, active=true} If you have any questions, leave a comment or ask me on my social media.

black text on gray background

How to Reverse a String in Java

If you need to reverse the character order of a String, you can use StringBuilder to do that. Note that the following code prints: Java is great! If you have any questions, leave a comment or send me a message on my social media.

slices of pineapple on board

How to Split Strings in Java

Here’s how to split Strings in Java. If you have any questions, leave a comment or ask me on my social media.

selective focus photoraphy of chains during golden hour

How to Join Strings in Java

Here’s how to join Strings in Java. If you have any questions, leave a comment or ask me on my social media.