The main difference between Serializable and Externalizable interface is that former is used to implement default serialization logic while Externaliz http://java67.blogspot.com/2012/10/difference-between-serializable-vs-externalizable-inter...
With the introduction of Autoboxing in Java 5, method and constructor overloading becomes more confusing. This article is collection of some best prac http://javarevisited.blogspot.com/2013/01/java-best-practices-method-overloading-construct...
Java is a matured programming language but same time very vast as well. There are lots and lots of book written over Java, covering the different aspe http://javarevisited.blogspot.com/2013/01/top-5-java-programming-books-best-good.html
Abstract Factory and Factory pattern looks similar but there is subtle difference between them, former is used to create Factory which in tern used to http://javarevisited.blogspot.com/2013/01/difference-between-factory-and-abstract-factory-...
Some time you need to append text into an existing file, append means starting writing at the end of existing file. How do you that? will you read all http://javarevisited.blogspot.com/2012/12/how-to-append-text-into-file-in-java-filewriter-...
The java.lang.ClassCastException comes when you try to cast an object stored in a reference variable into another object but it in runtime the object http://javarevisited.blogspot.com/2012/12/how-to-solve-javalangclasscastexception-java.html
In this article, I have shared Java interview questions from junior and intermediate level Java developer position e.g. Java programmers with 1, 2, 3 http://java67.blogspot.com/2012/10/java-interview-questions-for-2-to-3-4-years-experienced.html
There are mainly two types of nested class in Java, static and non-static. Out of these two, static nested class are simply refereed as nested class w http://java67.blogspot.sg/2012/10/nested-class-java-static-vs-non-static-inner.html
Android is Googles operating system for mobile devices and smartphones which has provided Java a much needed boost couple of years back. Now millions http://java67.blogspot.com/2012/10/top-10-android-interview-questions-and.html
You can read files in Java using InputStream but that would be very inefficient because InputStream reads data byte by byte. In order to read file eff http://java67.blogspot.com/2012/10/java-program-to-read-file-in-java.html
In this post we will see how can we see how many objects are created for classes at memory level. means that how many objects are created in heap http://www.programmers99.com/2014/12/how-can-we-see-how-many-objects-are.html
In order to use DOM and SAX parser correctly, its important to know that How DOM and SAX parser work and What are differences between SAX and DOM pars http://java67.blogspot.com/2012/09/dom-vs-sax-parser-in-java-xml-parsing.html
keytool is a binary utility which comes along JDK installation. After installing JDK, you can go to the bin directory and can find this command. It is http://java67.blogspot.com/2012/09/keytool-command-examples-java-add-view-certificate-ssl.html
Java 1.5 was one of the biggest release in Java. It introduce lot of useful features e.g. Enum, Generics, Autoboxing, Variable arguments and Static im http://java67.blogspot.com/2012/09/autoboxing-enum-generics-varargs-java-5-features.html
Every Java interview contains couple of tough questions, questions which is not heard of, focused on subtle concept or something which has surprise el http://java67.blogspot.sg/2012/09/top-10-tough-core-java-interview-questions-answers.html
Java 7 was not a major Java release like Java 1.5 or Java 8 but still it introduced lot of useful features like automatic resource management using tr http://java67.blogspot.sg/2012/09/what-is-new-in-java-7-top-5-jdk-7.html
One of the simplest introduction of one of the most confusing concept in Java, Serialization; both custom and default Serialization. It has special u http://java67.blogspot.com/2012/08/what-is-serialization-in-java.html
Along with volatile variable, transient variables are some of the lesser known concept among majority of Java developers. It has special use during Se http://java67.blogspot.com/2012/08/what-is-transient-variable-in-java.html
Singleton Design patter is a darling pattern of Java developers. Despite all its shortcoming of global state and testability issue, it is still one of http://java67.blogspot.com/2012/08/what-is-singleton-pattern-in-java.html