This tutorial shows how to calculate area of triangle in Java. In order to calculate area of triangle, first thing to know is the formula and than und http://javarevisited.blogspot.com/2012/10/java-program-to-calculate-area-of-triangle-examp...
Wait, notify and notifyAll are three mysterious method which are used for inter thread communication. mysterious, because they are difficult to unders http://javarevisited.blogspot.sg/2012/10/difference-between-notify-and-notifyall-java-exam...
Several time we need to use external library like Struts, Spring, XML parsing library and several other in form of JAR file. In order to use them in J http://javarevisited.blogspot.sg/2012/10/5-ways-to-add-multiple-jar-to-classpath-java.html
Collection of some frequently asked, good and practical garbage collection Questions, asked in Java Interviews. These questions are immensely useful f http://javarevisited.blogspot.com/2012/10/10-garbage-collection-interview-question-answer.html
First approach to write interactive programs in Java is starts with getting user input from command prompt. This article explains nice and easy way to http://javarevisited.blogspot.com/2012/10/java-program-to-get-input-from-user.html
Inheritance is a Object Oriented Concept, which allows you to reuse code by extending an already tried and tested code. This article, shows What is In http://javarevisited.blogspot.com/2012/10/what-is-inheritance-in-java-and-oops-programming.html
EnumMap is a special Map interface implementation for Enum keys which take advantage of Enum properties to make assumption about key objects. EnumMap http://javarevisited.blogspot.com/2012/09/difference-between-enummap-and-hashmap-in-java-v...
toString() is one of the important method in Java programming language. This article discusses some practical tips to get most out of toString() metho http://javarevisited.blogspot.com/2012/09/override-tostring-method-java-tips-example-code.html
EnumMap is a enum based datastructure introduced in Java 5 and an optimized, fast alternative of HashMap if keys are enum. This article explores when http://javarevisited.blogspot.com/2012/09/what-is-enummap-in-java-example-tutorial.html
Generic of Java 5 allow you to write parameterized class and method which can provide type safety during compile time. http://javarevisited.blogspot.com/2012/08/how-to-write-parametrized-class-method-Generic-e...
Reading String from InputStream is a common Java programming task and there are several ways you can read String from InputStream e.g. using Scanner, http://javarevisited.blogspot.com/2012/08/convert-inputstream-to-string-java-example-tutor...
Classloading and Initialization of class variables, member variable, super class and sub class variables are one of the most important concept to unde http://javarevisited.blogspot.com/2012/07/when-class-loading-initialization-java-example.html
Autoboxing is introduced in JDK 5 and allows automatic conversion of primitive to Object type. There are subtle details about auto boxing which is req http://javarevisited.blogspot.sg/2012/07/auto-boxing-and-unboxing-in-java-be.html
This tutorial explains about what is local and instance variables and the difference between the instance variable and local variable http://javaonlineguide.net/2014/05/instance-variable-vs-local-variable-in.html
Builder pattern in Java is used to create objects with lots of mandatory and option value. Since after 4 or 5 arguments constructor started getting ug http://javarevisited.blogspot.com/2012/06/builder-design-pattern-in-java-example.html
-XX:UseCompressedOops is a JVM command line option which is provided in 64 bit hotspot JVM. Since size of OOPS is larger in 64 bit JVM which reduces C http://javarevisited.blogspot.com/2012/06/what-is-xxusecompressedoops-in-64-bit.html
Java.lang.NullPointerException comes when we try to access any field or method on Object which is null. Its come mainly due to programming mistake and http://javarevisited.blogspot.sg/2012/06/common-cause-of-javalangnullpointerexce.html
Worth reading for all Java developers who are involve in coding secure enterprise application and deal with sensitive data like SSN, Password and Bank http://javarevisited.blogspot.sg/2012/05/best-practices-while-dealing-with.html
ThreadLocal is another way to obtain thread safety in Java. you can share expensive object as ThreadLocal to get benefit of multi-threading with reduc http://javarevisited.blogspot.sg/2012/05/how-to-use-threadlocal-in-java-benefits.html
Class file in Java is core of Java platform independence feature. When you compile Java source file it generates number of class file based upon num http://javarevisited.blogspot.sg/2012/05/10-points-about-class-file-in-java.html
One of the most powerful feature of Reflection is able to access private members. Since private is highest form of encapsulation in Java and Reflecti http://javarevisited.blogspot.com/2012/05/how-to-access-private-field-and-method.html