File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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

Some memory tricks for exam

John Soper

Joined: Dec 05, 2012
Posts: 25
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

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
author & internet detective

Joined: May 26, 2003
Posts: 33107

Welcome to CodeRanch and congrats on the pass!

I like your pneumonic devices. Thanks for sharing them!

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
John Jai

Joined: May 31, 2011
Posts: 1776
Thanks for the tips and congrats Hope you help others in the forum with your knowledge
Jhonson Fernando
MyExamCloud Software Support
Ranch Hand

Joined: Jun 27, 2011
Posts: 628

Jhonson Fernando
MyExamCloud => Java Certification Preparation | Java EE Certifications Preparation | Java ME Certification Preparation
Vinod Tiwari
Ranch Hand

Joined: Feb 06, 2008
Posts: 466


Vinod Tiwari | Twitter | Shikshanirman | Guftgu
Gnuh Suisse

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

Joined: Dec 05, 2012
Posts: 25
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: 3635

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

Joined: Dec 05, 2012
Posts: 25
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.
I agree. Here's the link:
subject: Some memory tricks for exam
It's not a secret anymore!