Today, I will share a very basic Java program that converts an ArrayList to an array. For most Java developers this is a routine task, but many newcomers to Java have asked me this question of how to convert an array to ArrayList. Here is the example code.
SB Left – Large Image List
Amazon.com being the largest online retailer offers a variety of merchandise. Because of their huge selection of products it is no surprise that Amazon affiliate program is so popular among bloggers. With an astonishing number of products available through Amazon.com it is quite likely that every blogger will find a related product to link in […]
My earlier post on how to validate email address, SSN and phone number validation using Java regex still attracts a lot of visitors. Today I realized that another piece of data that many programmers need to validate is the date. Many Java applications have to process input date values, so I thought it will be […]
One of most visited posts on this blog is How to read properties file in Java. In that post I explained how you can read from a properties file. But many people came to that post searching for an example on how to write to a properties file. So I thought it will be beneficial […]
An example on how to validate if a String variable in Java has all numeric digits.