15%
Java Puzzlers: Traps, Pitfalls, and Corner Cases

Java Puzzlers: Traps, Pitfalls, and Corner Cases

          
5
4
3
2
1

Out of Stock


Premium quality
Premium quality
Bookswagon upholds the quality by delivering untarnished books. Quality, services and satisfaction are everything for us!
Easy Return
Easy return
Not satisfied with this product! Keep it in original condition and packaging to avail easy return policy.
Certified product
Certified product
First impression is the last impression! Address the book’s certification page, ISBN, publisher’s name, copyright page and print quality.
Secure Checkout
Secure checkout
Security at its finest! Login, browse, purchase and pay, every step is safe and secured.
Money back guarantee
Money-back guarantee:
It’s all about customers! For any kind of bad experience with the product, get your actual amount back after returning the product.
On time delivery
On-time delivery
At your doorstep on time! Get this book delivered without any delay.
Notify me when this book is in stock
Add to Wishlist

About the Book

"Every programming language has its quirks. This lively book reveals oddities of the Java programming language through entertaining and thought-provoking programming puzzles." --Guy Steele, Sun Fellow and coauthor of The Java™ Language Specification "I laughed, I cried, I threw up (my hands in admiration)." --Tim Peierls, president, Prior Artisans LLC, and member of the JSR 166 Expert Group How well do you really know Java? Are you a code sleuth? Have you ever spent days chasing a bug caused by a trap or pitfall in Java or its libraries? Do you like brainteasers? Then this is the book for you! In the tradition of Effective Java™, Bloch and Gafter dive deep into the subtleties of the Java programming language and its core libraries. Illustrated with visually stunning optical illusions, Java™ Puzzlers features 95 diabolical puzzles that educate and entertain. Anyone with a working knowledge of Java will understand the puzzles, but even the most seasoned veteran will find them challenging. Most of the puzzles take the form of a short program whose behavior isn't what it seems. Can you figure out what it does? Puzzles are grouped loosely according to the features they use, and detailed solutions follow each puzzle. The solutions go well beyond a simple explanation of the program's behavior--they show you how to avoid the underlying traps and pitfalls for good. A handy catalog of traps and pitfalls at the back of the book provides a concise taxonomy for future reference. Solve these puzzles and you'll never again fall prey to the counterintuitive or obscure behaviors that can fool even the most experienced programmers.

Table of Contents:
Preface xi Chapter 1: Introduction 1 Chapter 2: Expressive Puzzlers 5 Puzzle 1: Oddity 5 Puzzle 2: Time for a Change 7 Puzzle 3: Long Division 9 Puzzle 4: It's Elementary 11 Puzzle 5: The Joy of Hex 13 Puzzle 6: Multicast 15 Puzzle 7: Swap Meat 17 Puzzle 8: Dos Equis 19 Puzzle 9: Tweedledum 21 Puzzle 10: Tweedledee 23 Chapter 3: Puzzlers with Character 25 Puzzle 11: The Last Laugh 25 Puzzle 12: ABC 27 Puzzle 13: Animal Farm 29 Puzzle 14: Escape Rout 31 Puzzle 15: Hello Whirled 33 Puzzle 16: Line Printer 35 Puzzle 17: Huh? 37 Puzzle 18: String Cheese 39 Puzzle 19: Classy Fire 41 Puzzle 20: What's My Class? 43 Puzzle 21: What's My Class, Take 2 45 Puzzle 22: Dupe of URL 47 Puzzle 23: No Pain, No Gain 49 Chapter 4: Loopy Puzzlers 53 Puzzle 24: A Big Delight in Every Byte 53 Puzzle 25: Inclement Increment 55 Puzzle 26: In the Loop 57 Puzzle 27: Shifty i's 59 Puzzle 28: Looper 61 Puzzle 29: Bride of Looper 63 Puzzle 30: Son of Looper 65 Puzzle 31: Ghost of Looper 67 Puzzle 32: Curse of Looper 69 Puzzle 33: Looper Meets the Wolfman 71 Puzzle 34: Down for the Count 73 Puzzle 35: Minute by Minute 75 Chapter 5: Exceptional Puzzlers 77 Puzzle 36: Indecision 77 Puzzle 37: Exceptionally Arcane 79 Puzzle 38: The Unwelcome Guest 81 Puzzle 39: Hello, Goodbye 83 Puzzle 40: The Reluctant Constructor 85 Puzzle 41: Field and Stream 87 Puzzle 42: Thrown for a Loop 89 Puzzle 43: Exceptionally Unsafe 93 Puzzle 44: Cutting Class 97 Puzzle 45: Exhausting Workout 101 Chapter 6: Classy Puzzlers 105 Puzzle 46: The Case of the Confusing Constructor 105 Puzzle 47: Well, Dog My Cats! 107 Puzzle 48: All I Get Is Static 109 Puzzle 49: Larger Than Life 111 Puzzle 50: Not Your Type 113 Puzzle 51: What's the Point? 115 Puzzle 52: Sum Fun 119 Puzzle 53: Do Your Thing 123 Puzzle 54: Null and Void 125 Puzzle 55: Creationism 127 Chapter 7: Library Puzzlers 131 Puzzle 56: Big Problem 131 Puzzle 57: What's in a Name? 133 Puzzle 58: Making a Hash of It 137 Puzzle 59: What's the Difference? 139 Puzzle 60: One-Liners 141 Puzzle 61: The Dating Game 143 Puzzle 62: The Name Game 145 Puzzle 63: More of the Same 147 Puzzle 64: The Mod Squad 149 Puzzle 65: A Strange Saga of a Suspicious Sort 152 Chapter 8: Classier Puzzlers 157 Puzzle 66: A Private Matter 157 Puzzle 67: All Strung Out 161 Puzzle 68: Shades of Gray 163 Puzzle 69: Fade to Black 165 Puzzle 70: Package Deal 167 Puzzle 71: Import Duty 169 Puzzle 72: Final Jeopardy 171 Puzzle 73: Your Privates Are Showing 173 Puzzle 74: Identity Crisis 175 Puzzle 75: Heads or Tails? 177 Chapter 9: More Library Puzzlers 183 Puzzle 76: Ping Pong 183 Puzzle 77: The Lock Mess Monster 185 Puzzle 78: Reflection Infection 189 Puzzle 79: It's a Dog's Life 193 Puzzle 80: Further Reflection 195 Puzzle 81: Charred Beyond Recognition 197 Puzzle 82: Beer Blast 199 Puzzle 83: Dyslexic Monotheism 201 Puzzle 84: Rudely Interrupted 203 Puzzle 85: Lazy Initialization 205 Chapter 10: Advanced Puzzlers 209 Puzzle 86: Poison-Paren Litter 209 Puzzle 87: Strained Relations 211 Puzzle 88: Raw Deal 213 Puzzle 89: Generic Drugs 217 Puzzle 90: It's Absurd, It's a Pain, It's Superclass! 221 Puzzle 91: Serial Killer 224 Puzzle 92: Twisted Pair 229 Puzzle 93: Class Warfare 231 Puzzle 94: Lost in the Shuffle 233 Puzzle 95: Just Desserts 237 Appendix A Catalog of Traps and Pitfalls 239 Appendix B Notes on the Illusions 259 References 265 Index 271


Best Sellers


Product Details
  • ISBN-13: 9780321336781
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison-Wesley Educational Publishers Inc
  • Depth: 19
  • Language: English
  • Returnable: Y
  • Spine Width: 20 mm
  • Weight: 596 gr
  • ISBN-10: 032133678X
  • Publisher Date: 21 Jul 2005
  • Binding: Paperback
  • Height: 234 mm
  • No of Pages: 312
  • Series Title: English
  • Sub Title: Traps, Pitfalls, and Corner Cases
  • Width: 186 mm


Similar Products

How would you rate your experience shopping for books on Bookswagon?

Add Photo
Add Photo

Customer Reviews

REVIEWS           
Click Here To Be The First to Review this Product
Java Puzzlers: Traps, Pitfalls, and Corner Cases
Pearson Education (US) -
Java Puzzlers: Traps, Pitfalls, and Corner Cases
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Java Puzzlers: Traps, Pitfalls, and Corner Cases

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book
    Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!
    ASK VIDYA