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
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
We often get error like javac is not recognized as internal or external command while compiling Java programs from command prompt. Main reason or this http://javarevisited.blogspot.com/2012/12/javac-is-not-recognized-as-internal-or-external-...
Constructor in Java is called when you create object using new() keyword. constructor name must be same as class name and you can initialize member va http://javarevisited.blogspot.com/2012/12/what-is-constructor-in-java-example-chainning-ov...
Java is an object-oriented programming language, and class and object are back-bone of oops. Java is built as 99% of object oriented language, where http://javarevisited.blogspot.com/2012/12/what-is-object-in-java-or-oops-example.html
public, protected and private are three important keyword, which is used for access control in Java. Main difference between public and protected are http://javarevisited.blogspot.com/2012/10/difference-between-private-protected-public-pack...
java.lang.String has special status in Java programming language which leads to some interesting and tricky questions in Java Interview on String. Thi http://javarevisited.blogspot.com/2012/10/10-java-string-interview-question-answers-top.html
Java 5 adds two important methods to format String in Java. System.out.printf() and String.format() method can be used to format any String by providi http://javarevisited.blogspot.com/2012/08/how-to-format-string-in-java-printf.html
CyclicBarrier is a concurrency utility added in Java 5. One example of How to use CyclicBarrier in Java along with What is difference between CyclicB http://javarevisited.blogspot.com/2012/07/cyclicbarrier-example-java-5-concurrency-tutoria...
From Java 5 onwards there is a new way to implement Singleton design pattern, by using Enum. Enum has some distinct benefits in terms of thread-safety http://javarevisited.blogspot.com/2012/07/why-enum-singleton-are-better-in-java.html
Generics is a great addition in Java 5 , though just a syntactic sugar, it provides great value, but no doubt its complex. especially writing parametr http://javarevisited.blogspot.sg/2012/06/10-interview-questions-on-java-generics.html
Simple Java program to copy file in Java from one directory to other. Java File API does not provide any method to copy file or directory. In order to http://javarevisited.blogspot.com/2012/05/how-to-copy-file-in-java-program.html
factorial program in Java is natural example of recursion. because factorial algorithm itself multiply number to one less than it until it get zero, y http://javarevisited.blogspot.com/2012/04/java-program-to-find-factorial-of.html
Generics has two kinds of wildcard one is called bounded and other is called unbounded. bounded wildcard has a limit or bound which could be either up http://javarevisited.blogspot.com/2012/04/what-is-bounded-and-unbounded-wildcards.html
Java tutorial on what is encapsulation in java. encapsulation is fundamental OOOPS concept which advise hiding internals of a class from outside world http://javarevisited.blogspot.com/2012/03/what-is-encapsulation-in-java-and-oops.html
Quick java guide tutorial to load and read xml properties file and read values form them.properties file in java is great way to provide configuration http://javarevisited.blogspot.com/2012/03/how-to-read-properties-file-in-java-xml.html
Java tutorial for beginners on how to convert a single character into String in Java. Java has special support for String and several convenient metho http://javarevisited.blogspot.com/2012/02/how-to-convert-char-to-string-in-java.html
Java troubleshooting tutorial and guide to solve java.util.NoSuchElementException in Scanner, StringTokenizer and hashtable enumeration in Java. NoSuc http://javarevisited.blogspot.com/2012/02/how-to-solve-javautilnosuchelementexcep.html