What is RegEx? Regular Expression is a search pattern for String. java.util.regex Classes for matching character sequences against patterns specified by regular expressions in Java. You could use …
Java and J2EE Tutorials Archives...
One of my favorite language Java is a programming language and computing platform developed by Sun which is acquired by Oracle now. J2EE is Java Enterprise Edition, which consists of core Java with a powerful set of libraries.
On Crunchify, we do have more than 600+ Java and J2EE tips with additional production ready utilities. Explore all tutorials below.
Java Merge Sort Algorithm Implementation? Detailed Explanation and Complete Tutorial
On Crunchify, we have written so far 500+ Java and Spring MVC technology related tutorials. Learning new stuff never bored me. I like learning new stuff every day and I believe it's the same for my …
In Java How to Move all 0’s to end of Array Preserving Order of an Array? [2 ways]
I've been playing with a problem of moving all 0's to end of Arrays in different interviews in various combinations. Sometimes I ask to move all 0 to front of array, sorting an array without any data …
In Java How to implement Memcached Client using net.spy.spymemcached Library?
Few days back I've written an article on how to setup and start MemCached Server locally on you Mac OS with few simple steps. There are three different ways to create Memcached Java …
Read Article about In Java How to implement Memcached Client using net.spy.spymemcached Library? →
In Java How to Check if Number/String is Palindrome or not?
What is Palindrome number? A palindromic number is a number (such as 24842) that remains the same when its digits are reversed. Here are few other names: numeral palindromenumeric …
Read Article about In Java How to Check if Number/String is Palindrome or not? →
In Java How to convert Negative number to Positive with Simple Math operation?
In this tutorial we will go over how do you turn a negative value into a positive value? Simple method is to multiply negative number with Minus One to Convert a Positive Number. In this tutorial …
Read Article about In Java How to convert Negative number to Positive with Simple Math operation? →
In Java how to join Arrays? 3 ways: Apache Commons ArrayUtils, Java 8 Streams and Simple APIs
In this tutorial we will go over different ways we can join Java Arrays. If you have any of below questions then you are at right place: How can I concatenate two arrays in Java?How to Merge Two …
In Java How to Set and Get Thread Priority? Get Thread ID, Count, Class, StackTrace, ThreadGroup and More
In Java multithreading programming, sometimes you may need to set Thread priority in order for it to execute before another thread. You can set and get Thread priority programmatically using …
How to Implement your own InetAddress.isReachable(String address, int port, int timeout) method in Java?
In Java there are multiple ways to check ping and port check. You could use system default's ping command, Java's native method InetAddress utility, HttpURLConnection and some more. In production …