One of the most debated topic on Java is whether the method arguments are pass by reference or pass by value. In this tutorial, I would like to explain the same old concept with respect to the OCAJP certification. In Java, everything is pass by value. Here is the exam objective for OCAJP 7 and OCAJP …
OCAJP
OCAJP – Static Methods and Fields
I have published few posts about static keyword and static initializer as part of educating the core Java concepts. In this post I will explain the important points about static keyword with respect to preparing for the OCAJP certification exam. The actual exam objective is “6.2 – Apply the static keyword to methods and fields” under the …
OCAJP – StringBuilder API
StringBuilder is a alternative to the existing StringBuffer class in Java. StringBuilder class is first introduced in Java 5.0. The key difference between StringBuilder and StringBuffer is that, StringBuilder is not synchronous where as StringBuffer is synchronous. This makes the StringBuilder class offers better performance then the StringBuffer. The new OCAJP exam added a separate objective …