Core java Archive

Java Collections shuffle

Shuffle method is to permute passed list with default or specified¬†randomness. Syntax Example : Let’s see both the function with the help of example. When you run above program, you will get below …

Install Jenkins on Mac OS X

In this tutorial, we will see how to install Jenkins on Mac OS X. Step 1:Open browser and enter URL https://jenkins.io/download Step 2:Scroll down the page until you see the Mac OS X section then …

Java Regex for alphanumeric characters

In this post, we will see how to create regex alphanumeric which will create only alphanumeric characters. There are times when you need to validate user’s input. It should contain only characters from a-z, A-Z …

Java – Create new file

There are many ways to create a file in java. Creating a file is a very easy task. We will learn 5 different ways to Create a file. Using java.io.File class’s createNewFile method This is …

Java enum with String

In this quick tutorial, how to create String constants using enum, convert String to enum etc. You can go though complete enum tutorial here. Let’s create java enum String constants. Create java enum String  …

Join Our News Letter - Stay Updated

Subscribe to Awesome Java Content.
You can like our facebook page Java2blog