java.io.NotSerializableException comes when you try to serialize a class, which contains another object in form of member variable, which is not Seria http://javarevisited.blogspot.com/2012/12/javaionotserializableexception-orgapache-log4j-l...
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
TimeUnit has a sleep method similar to java.lang.Thread sleep() method, which can be used to introduce pause in Java program. This tutorial advise why http://javarevisited.blogspot.com/2012/11/What-is-timeunit-sleep-over-threadsleep.html
Eclipse provides lots of productivity tool to quickly write Java programs. In this Eclipse tips, you will learn how to generate System.out.println aut http://javarevisited.blogspot.com/2012/10/eclipse-shortcut-to-systemoutprintln-in-java.html
Java supports Regular Expression, which can be used to do wonders. Regular expression is very powerful tool on text processing, you can check if a str http://javarevisited.blogspot.sg/2012/10/regular-expression-example-in-java-to-check-Strin...
Java doesnt support RTTI or Runtime Type Identification like C++ programming language but still provides some ways to find type of object at runtime http://javarevisited.blogspot.com/2012/09/how-to-determine-type-of-object-runtime-identifi...
JUnit is most popular framework for unit testing in Java and following some unit testing best practices you can test your Java code more effectively. http://javarevisited.blogspot.com/2012/08/best-practices-to-write-junit-test.html
In order to get value of Environment variables in Java, you can use System.getEnv() method. By using this method you can either get value of single sp http://javarevisited.blogspot.com/2012/08/how-to-get-environment-variables-in.html
CountDownLatch in Java is similar to CyclicBarrier and can be used in place of CyclicBarrier with only difference is that you can reuse CyclicBarrier http://javarevisited.blogspot.com/2012/07/countdownlatch-example-in-java.html
BufferedReader in Java can be used to read any file line by line, it provides method like readLine() which returns line by line until end of file reac http://javarevisited.blogspot.com/2012/07/read-file-line-by-line-java-example-scanner.html
Junit is best framework for writing unit tests and with introduction of annotations on JUnit 4 its become even more sophisticated and easier but In or http://javarevisited.blogspot.in/2012/06/junit4-annotations-test-examples-and.html
Questions from design pattern and software design are always have places in most programming interviews does not matter its Java or C#. This become ev http://javarevisited.blogspot.sg/2012/06/20-design-pattern-and-software-design.html
Java example of calling any method using Reflection API. java.lang.reflect package has a class called Method which denotes java methods and have over http://javarevisited.blogspot.com/2012/04/how-to-invoke-method-by-name-in-java.html
Prime numbers are those who are either divided by 1 or by themselves and writing java program to check if a number is prime or not is neither difficul http://javarevisited.blogspot.com/2012/04/java-program-to-print-prime-numbers-in.html