This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Some memory tricks for exam Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Some memory tricks for exam" Watch "Some memory tricks for exam" New topic
Forums: Programmer Certification (SCJP/OCPJP) Certification Results
Author

Some memory tricks for exam

John Soper
Greenhorn

Joined: Dec 05, 2012
Posts: 22
Passed OCPJP-6 today with 83% (what a load off). Overall, it was easier than I thought. No fill in blank stuff,
and only one Exhibit popup.

Thought I'd share my memory tricks on the chance it will help someone. Might be less effective if English isn't your
native language.

1. Date and Locale use New() but Calendar, Dateformat, and Numberformat use instance methods.
Think of getting a hot date and taking them someplace fancy
"Take your NEW DATE to a NEW LOCALE"

2. Ivars use the access modifiers (public, private, protected) plus volatile, transient and final
Think of a reporter having trouble tracking down an angry homeless man for a story
"He FINALly got ACCESS to the VOLATILE TRANSIENT"

3. Ivars can NOT be serializable, abstract, native, or strictfp.
Instance methods can NOT be transient or volatile
Think of a spoiled kid punished by losing his television
He went SANS TV (each letter is a term, "sans" is Latin for "without")

4. Runtime exceptions are unchecked, I just said "runchecked" a few times to make stick

5. Join, Wait, and Sleep all need exception handling.
I used my initials, but you could probably think
"JAWS didn't get an A on his test" (or something)

6. In Regex /d is digit, /s is space, /w is words
"I'm DIGging those SPACEy WORDS"

7. Tell yourself over and over:

Interfaces are used for constants and public instance methods
Overriding is only for instance methods, not static methods or ivars
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30085
    
149

Welcome to CodeRanch and congrats on the pass!

I like your pneumonic devices. Thanks for sharing them!


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
John Jai
Bartender

Joined: May 31, 2011
Posts: 1776
Thanks for the tips and congrats Hope you help others in the forum with your knowledge
koilraj abraham
Ranch Hand

Joined: Jun 27, 2011
Posts: 499
    
    2
Congratulations!...


Abraham
EPractize Labs Training Labs => OCMJEA 6 | OCAJP | OCPJP | OCEJWSD | OCEEJBD | OCEJPAD | OCEJWCD
Vinod Tiwari
Ranch Hand

Joined: Feb 06, 2008
Posts: 459
    
    1
Congrats


Vinod Tiwari | Twitter
Gnuh Suisse
Greenhorn

Joined: Dec 06, 2012
Posts: 1
Congrat. Just passed the exam today and also have 100% score. Questions were easier than expected.
dennis deems
Ranch Hand

Joined: Mar 12, 2011
Posts: 808
These are excellent! Thanks for sharing!
John Soper
Greenhorn

Joined: Dec 05, 2012
Posts: 22
Gnuh Suisse wrote:Congrat. Just passed the exam today and also have 100% score. Questions were easier than expected.

Wow, that's great. Now do another Java cert but only study 61% as much and see what happens
Paul Anilprem
Enthuware Software Support
Ranch Hand

Joined: Sep 23, 2000
Posts: 3253
    
    2
Congratulations!!!


Enthuware - Best Mock Exams and Questions for Oracle/Sun Java Certifications
Quality Guaranteed - Pass or Full Refund!
John Soper
Greenhorn

Joined: Dec 05, 2012
Posts: 22
Paul Anilprem wrote:Congratulations!!!

Thanks for the good Enthuware software, I liked getting tidbits that weren't in the
Sierra/Bates books.

Think my favorite was that even though subclassed methods must throw the equal or
narrower checked exceptions, a subclass's constructor must throw equal or WIDER ones.

Haven't seen that mentioned anywhere else so far.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Some memory tricks for exam
 
Similar Threads
modifiers to inner class
Please Answer these Questions of java.
Roundup Game Question #118
Interface non-access modifiers
Reserved words