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.
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.
Recently I upgraded to WordPress 2.8.5. The upgrade process itself went smoothly but some of the plugins I have installed on my blog stopped working with latest WordPress version. One of them is AdSense Deluxe.I use AdSense units on my blog (as you can see) and use AdSense Deluxe plugin to manage my ads. The […]
Image credit:Mooganic Nothing is more embarrassing than a misspelled word or incorrect grammar in an article on your blog. OK, may be there are other more embarrassing things out there but this still is not a nice scenario for a professional blogger. As a blogger you should try to catch all your mistakes before your […]
Smart phones are a great tool for bloggers to blog even when they are away from their computers. Ever since iPhone was introduced mobile-blogging hit its stride. With a plethora of apps available for iPhone you can now easily post to your blog wherever you are. Although most iPhone apps have a modest price but […]
Recently Darren Rowes of problogger.net launched a premium forum for bloggers ( problogger.com). I was surprised that he offered the membership of only $1.95 a month. I singed up as soon as I heard the news and I believe it’s worth much more than that. The community is getting close to 2000 member strong. The […]