• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Some memory tricks for exam

 
John Soper
Greenhorn
Posts: 25
  • Likes 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Marshal
Posts: 34229
341
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to CodeRanch and congrats on the pass!

I like your pneumonic devices. Thanks for sharing them!
 
John Jai
Rancher
Posts: 1776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the tips and congrats Hope you help others in the forum with your knowledge
 
Jhonson Fernando
MyExamCloud Software Support
Ranch Hand
Posts: 647
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations!...
 
Vinod Tiwari
Ranch Hand
Posts: 466
1
IntelliJ IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrats
 
Gnuh Suisse
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrat. Just passed the exam today and also have 100% score. Questions were easier than expected.
 
dennis deems
Ranch Hand
Posts: 808
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
These are excellent! Thanks for sharing!
 
John Soper
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3715
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations!!!
 
John Soper
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic