Mnemonics are study aids to help you memorize bits of information. In studying for the SCJP2 exam, I've run across several techniques as well as come up with some of my own. Ususally, the funnier they are, the easier they are to remember.
These are pretty lame, so if you have any of your own, or would like to suggest something better than below, please drop me an e-mail.
Don't forget to check out the mock exams section.
Concept |
Mnemonic Device |
||||||||||||||||||||
| Range of Primitive integral types |
Sample Question:
|
||||||||||||||||||||
| Order of calls to graphics methods | As suggested by Marcus Green, repaint -> update -> paint Remember: Really Ugly Painting
|
||||||||||||||||||||
| Precedence of operators | As found in Bruce Eckel's Thinking in Java, page 111:
Unary, Arithmetic,
Shift, Comparison,
Bitwise, Short-circiut,
Ternary, Assignment Remember: Ulcer Addicts Really Like C A Lot
|
||||||||||||||||||||
| Conversion order of Primitives | byte -> short -> int -> long -> float -> double (char -> int) b.s I Love F*&@ing Dell, Can't I? |
||||||||||||||||||||