Properties file in Java is used to hold configuration data e.g. JDBC configuration, logging configuration for log4j or java.util.logging. In this arti http://javarevisited.blogspot.com/2012/12/how-to-create-and-modify-properties.html
Counting occurrences of characters in Java String is a common programming exercise for beginners. Actually there are multiple way to count characters http://javarevisited.blogspot.com/2012/12/how-to-count-occurrence-of-character-in-String.html
java.util.Scanner is a utility class added on Java 5, which provides handy method to read input from command line or console in Java. One of the bigg http://javarevisited.blogspot.com/2012/12/how-to-read-input-from-command-line-in-java.html
Though we can use Set as duplicate free Collection, some time we need to remove duplicates from ArrayList may be due to legacy code, or code inside an http://javarevisited.blogspot.com/2012/12/how-to-remove-duplicates-elements-from-ArrayList...
XPath is an XML technology to find and retrieve elements based upon there path in document. XPath is similar to SQL and very powerful while working wi http://javarevisited.blogspot.com/2012/12/xpath-tutorial-example-how-to-select-elements.html
Java allows you to declare multiple constructor in one class file and process of calling one constructor from other is known as Constructor chaining. http://javarevisited.blogspot.com/2012/12/constructor-chaining-in-java-calling-another-con...
When we copy lot of text from a file e.g. HTML or XML file to store in a String variable, which may contains characters needs to escaped in Java e.g. http://javarevisited.blogspot.com/2012/12/how-to-escape-text-when-pasting-as-String-Eclips...
There are lot of things can go wrong while setting initial and maximum heap size for Java application using -Xms and -Xmx command. First of them is sy http://javarevisited.blogspot.com/2012/12/invalid-initial-and-maximum-heap-size.html
How to Create Simple Database swing App with derby database. A swing app which accept set of values and store in derby database http://ayazroomy-java.blogspot.in/2013/07/simple-swing-application-to-store.html
Unlike List and Sort, sorting Map implementations like HashMap and Hashtable is not easy. There are two ways to sort HashMap, either by key or by valu http://javarevisited.blogspot.com/2012/12/how-to-sort-hashmap-java-by-key-and-value.html