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
Class and Object are two pillars of Object Oriented programming or OOP, despite that its very common for programmers to misunderstood the concept. The http://javarevisited.blogspot.com/2012/12/difference-between-class-and-object-in-oops-java.html
Step by Step guides to attach JDK source file to Eclipse IDE. This will help you to navigate into JDK source while debugging. You can not only add the http://javarevisited.blogspot.com/2012/12/how-to-attach-source-in-eclipse-Jar-JDK-debuggin...
Finding middle element of LinkedList without knowing its length in one iteration is a common coding exercise asked in various programming interviews i http://javarevisited.blogspot.com/2012/12/how-to-find-middle-element-of-linked-list-one-pa...
You can use the indexOf() method from String class in Java to find out whether a particular character or a substring is present in the given String or http://java67.blogspot.com/2012/10/string-contains-and-indexof-example.html
Some Java and JSP tips to remove HTML special characters from String. You can do that by using core tag library and expression language in JSP and by http://java67.blogspot.com/2012/10/how-to-escape-html-special-characters-JSP-Java-Example.html
Servlet and JSP are the core part of J2EE or Java EE platform and thats why they are very important from an interview point of view. If you are going http://java67.blogspot.com/2012/10/servlet-jsp-interview-questions-answer-faq-experience.html
Both throw and throws keyword is used the Main difference between throw and throws keyword in Java is that throws are used at method declaration line http://java67.blogspot.com/2012/10/difference-between-throw-vs-throws-in.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 several ways to loop over HashSet in Java e.g. by using traditional for loop or advanced for loop or even Java 8 Stream, but the right way i http://java67.blogspot.com/2012/10/how-to-iterate-over-hashset-in-java.html
In this Java tutorial, you will learn how to convert an hexadecimal number to a decimal one by using Java API. Sometimes though you may be asked to wr http://java67.blogspot.com/2012/10/convert-hexadecimal-to-decimal-binary-octal-java-exampl...
There are several ways to convert an ArrayList to String in Java e.g. in Java 8 you can use the join() method from String class, but even if you are n http://java67.blogspot.com/2012/10/how-to-convert-arraylist-to-string-in-java-example.html