Lost your password?

Blogs about: Scjp 5

Featured Blog

Kathy and Bates SCJP 5 guide errata list by Bert Bates

vinu76jsr wrote 1 year ago: K & B, SCJP 5 – Errata: Updated 7/28/06 (Programmer Certification (SCJP) forum at JavaRanc … more →

Tags: SCJP, SCJP5

JavaRanch FAQ : Scjp Faq

vinu76jsr wrote 1 year ago: JavaRanch FAQ : Scjp Faq What are some potential trips/traps in the SCJP exam? * Two top-level publi … more →

Tags: SCJP, SCJP5, SCJP6, SCJP 6

finalize method1 comment

Krishnamoorthy Sethuraman wrote 3 years ago: if in finalized method, there is a call to super(), then handle the throwable in the finalize method … more →

Assign String to String Buffer

Krishnamoorthy Sethuraman wrote 3 years ago: StringBuffer sb = “hello”; this won’t compile. StringBuffer have to be explicity c … more →

Method of private inner class : Accessibility

Krishnamoorthy Sethuraman wrote 3 years ago: Not possible to access methods of private inner class as the following code will give compile error. … more →

Format string conversion

Krishnamoorthy Sethuraman wrote 3 years ago: For %b(boolean) : All data types can be passed For %c(char) : byte, char, short, int For %d(int) : b … more →

OO Encapsulation

Krishnamoorthy Sethuraman wrote 3 years ago: Advantages of encapsulation: Reusability of code Code Clarity … more →

Some more SCJP5 tips

Krishnamoorthy Sethuraman wrote 3 years ago: enum declaration outside class cannot contain static, final or any access modifiers, although enum t … more →

== and equals

Krishnamoorthy Sethuraman wrote 3 years ago: Object equals checks both objects are of same type and their contents are equal. In case of Float/Do … more →

Array and ArrayList

Krishnamoorthy Sethuraman wrote 3 years ago: In a arrayList of object, any types of object(mixed) can be put. However in an array of objects, onc … more →

Java OO : Cohesion

Krishnamoorthy Sethuraman wrote 3 years ago: Benefits of Cohesion: Helps understand what a class or method does Allows the use of descriptive nam … more →

Recursive call in method and constructor

Krishnamoorthy Sethuraman wrote 3 years ago: Recursive call in constructor will cause a compile time error: “recursive constructor invocati … more →

Illegal combination of modifiers

Krishnamoorthy Sethuraman wrote 3 years ago: Following modifiers cannot be used with abstract: private final static native synchronized … more →

KeepResident plugin for Eclipse/Jdeveloper1 comment

Krishnamoorthy Sethuraman wrote 3 years ago: Jdeveloper being slow when shifting the application in windows. Reason being the windows swapping th … more →

Tags: Oracle, Windows XP

Accessing class in another class

Krishnamoorthy Sethuraman wrote 3 years ago: 1.using packaged class in non-packaged or packaged class: Need to use import. 2.using non-packaged c … more →

synchronized code

Krishnamoorthy Sethuraman wrote 3 years ago: synchronization possible on objects only and not on primitives int x; synchronized(x) will be compil … more →

Ambiguous Match

Krishnamoorthy Sethuraman wrote 3 years ago: When class implements two or more interface(or extends classes) containing same member varaible type … more →

Anonymous array declaration

Krishnamoorthy Sethuraman wrote 3 years ago: Anonymous arrays have to be assigned to the variables at the time of declaration of varaible itself. … more →

i=i++ produces the output "0" instead of "1".

Krishnamoorthy Sethuraman wrote 3 years ago: The code int i = 0; i = i++; System.out.println(i); produces the output “0″ instead of … more →


Have your say. Start a blog.

See our free features →

Related Tags
All →

Follow this tag via RSS