Welcome to the Free PDF Ebooks Download.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Member Login:

Programing Book book office, office xp book, book systems, books systems, databases books, c++ study guide, c# certification, ...

Download FREE EBOOK DOWNLAOD TOOLBAR

toolbar powered by free-ebook-download.net

Reply
  #1 (permalink)  
Old 06-07-2009, 11:12 AM
Senior Member
 
Join Date: May 2009
Posts: 148
Default Java Puzzlers - Traps, Pitfalls, And Corner Cases

Java Puzzlers - Traps, Pitfalls, And Corner Cases



Addison Wesley Professional | ISBN: 0-321-33678-X | English | CHM | 304 Pages | Size: 1.24 MB

Introduction
This book is filled with brainteasers about the Java programming language and its core libraries. Anyone with a working knowledge of Java can understand these puzzles, but many of them are tough enough to challenge even the most experienced programmer. Don't feel bad if you can't solve them. They are grouped loosely according to the features they use, but don't assume that the trick to a puzzle is related to its chapter heading; we reserve the right to mislead you.
Most of the puzzles exploit counterintuitive or obscure behaviors that can lead to bugs. These behaviors are known as traps, pitfalls, and corner cases. Every platform has them, but Java has far fewer than other platforms of comparable power. The goal of the book is to entertain you with puzzles while teaching you to avoid the underlying traps and pitfalls. By working through the puzzles, you will become less likely to fall prey to these dangers in your code and more likely to spot them in code that you are reviewing or revising.
This book is meant to be read with a computer at your side. To get the most out of the puzzles, you'll need a Java development environment, such as Sun's JDK [JDK-5.0]. It should support release 5.0, as some of the puzzles rely on features introduced in this release. You can download the source code for the puzzles from [url=http://e45.org/?www.javapuzzlers.com]E45.org[/url]. Unless you're a glutton for punishment, we recommend that you do this before solving the puzzles. It's a heck of a lot easier than typing them in yourself.
Most of the puzzles take the form of a short program that appears to do one thing but actually does something else. It's your job to figure out what the program does. To get the most out of these puzzles, we recommend that you take this approach:

1.Study the program and try to predict its behavior without using a computer. If you don't see a trick, keep looking.
2.Once you think you know what the program does, run it. Did it do what you thought it would? If not, can you come up with an explanation for the behavior you observed?
3.Think about how you might fix the program, assuming it is broken.
3.Then and only then, read the solution.


Code:
http://www.easy-share.com/1905543344/Java Puzzlers - Traps, Pitfalls, And Corner Cases.chm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!
Reply With Quote

Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Emergency Medicine: Avoiding the Pitfalls and Improving the Outcomes free-ebook uncategory section 0 09-01-2009 03:23 PM
[GET] Tips and Traps for Marketing Your Business free-ebook Business Book 0 09-01-2009 11:40 AM
[Megaupload.com] Using Taxes to Reform Health Insurance: Pitfalls and Promises topso Business Book 0 08-24-2009 08:58 PM
[Uploading.com] Emergency Medicine: Avoiding the Pitfalls and Improving the Outcomes rsapple Medical Book 2 07-10-2009 07:24 AM
New Ideas from Dead CEOs: Lasting Lessons from the Corner Office topso Business Book 1 04-10-2009 09:33 AM

All times are GMT. The time now is 11:37 AM.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227