Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Some memory tricks for exam

 
Greenhorn
Posts: 25
  • Likes 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author & internet detective
Posts: 40797
828
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to CodeRanch and congrats on the pass!

I like your pneumonic devices. Thanks for sharing them!
 
Rancher
Posts: 1776
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the tips and congrats Hope you help others in the forum with your knowledge
 
MyExamCloud Software Support
Posts: 692
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congratulations!...
 
Ranch Hand
Posts: 466
1
IntelliJ IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congrats
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congrat. Just passed the exam today and also have 100% score. Questions were easier than expected.
 
Ranch Hand
Posts: 808
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
These are excellent! Thanks for sharing!
 
John Soper
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Enthuware Software Support
Posts: 4582
45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congratulations!!!
 
John Soper
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic