Head First Java [NOOK Book]

Overview

Learning a complex new language is no easy task especially when it s an object-oriented computer programming language like Java. You might think the problem is your brain. It seems to have a mind of its own, a mind that doesn't always want to take in the dry, technical stuff you're forced to study.

The fact is your brain craves novelty. It's constantly searching, scanning, waiting for something unusual to happen. After all, that's the way it ...

See more details below
Head First Java

Available on NOOK devices and apps  
  • NOOK Devices
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK Study
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$19.99
BN.com price
(Save 44%)$35.99 List Price

Overview

Learning a complex new language is no easy task especially when it s an object-oriented computer programming language like Java. You might think the problem is your brain. It seems to have a mind of its own, a mind that doesn't always want to take in the dry, technical stuff you're forced to study.

The fact is your brain craves novelty. It's constantly searching, scanning, waiting for something unusual to happen. After all, that's the way it was built to help you stay alive. It takes all the routine, ordinary, dull stuff and filters it to the background so it won't interfere with your brain's real work--recording things that matter. How does your brain know what matters? It's like the creators of the Head First approach say, suppose you're out for a hike and a tiger jumps in front of you, what happens in your brain? Neurons fire. Emotions crank up. Chemicals surge.

That's how your brain knows.

And that's how your brain will learn Java. Head First Java combines puzzles, strong visuals, mysteries, and soul-searching interviews with famous Java objects to engage you in many different ways. It's fast, it's fun, and it's effective. And, despite its playful appearance, Head First Java is serious stuff: a complete introduction to object-oriented programming and Java. You'll learn everything from the fundamentals to advanced topics, including threads, network sockets, and distributed programming with RMI. And the new. second edition focuses on Java 5.0, the latest version of the Java language and development platform. Because Java 5.0 is a major update to the platform, with deep, code-level changes, even more careful study and implementation is required. So learning the Head First way is more important than ever.

If you've read a Head First book, you know what to expect--a visually rich format designed for the way your brain works. If you haven't, you're in for a treat. You'll see why people say it's unlike any other Java book you've ever read.

By exploiting how your brain works, Head First Java compresses the time it takes to learn and retain--complex information. Its unique approach not only shows you what you need to know about Java syntax, it teaches you to think like a Java programmer. If you want to be bored, buy some other book. But if you want to understand Java, this book's for you.

Read More Show Less

Editorial Reviews

From Barnes & Noble
The Barnes & Noble Review
Head First Java is a beginning Java primer like you’ve never seen before (and believe us, we’ve seen plenty). This book makes Java fun. No, that doesn’t do it justice. Imagine learning Java from Robin Williams. (The comedian, we mean. If you can imagine him as a truly great Java programmer.)

Synapses firing, new ideas, new connections, attitude all over the place: That’s Head First Java. (Where else can you watch Java objects expose their inner secrets on Java Tabloid TV? Or learn why Lucy really keeps her variables private?)

Hilarious captioned photos. Text that’s actually funny (and we don’t mean the kind of “alleged” funny you’ve seen in computer books before -- the kind that makes you cringe). Games. Puzzles. Mysteries. “Be the compiler” exercises. Great analogies.

And all these goodies weren’t bolted on at the end to enliven a deadly narrative or fit a format. They’re here to make the ideas come alive. And it works.

If you prefer to be lectured, if you prefer a rigid format where you know exactly what to expect every time you turn the page…look elsewhere. Head First Java has a surprise waiting on pretty much every spread. Kathy Sierra, Bert Bates, and the gang at O’Reilly figure that people learn best when they’re fully engaged. When they’re being tickled. When they’re on the floor laughing. (And the latest research in cognitive science, neurobiology, and educational psychology backs them up.)

In Chapter 1, you’ll build your first app -- not Hello World, but your own personal Phrase-O-Matic. Then, it’s straight outta main() -- or, as the authors put it, “We’re leaving this dusty old procedural town for good.” You’ll learn why objects are better through an imaginary competition between Larry, the procedural programmer and Brad, the OO guy (winner gets the cool Aeron chair).

Next, it’s on to primitive and reference variables. Think of ‘em as cups. Think of 64 and Double 64 primitives as Starbucks Grande cups. Java cares about type and won’t let you put a Giraffe into a Rabbit variable: “What happens when someone tries to ask the so-called Rabbit to hop()? You’ll get to know life -- and death -- on the garbage collectible heap. There’s a full chapter on object behavior and on encapsulation (“do it or risk humiliation and ridicule”).

One big idea at a time, you make it through every Java fundamental. Solving problems with the Java Library APIs. Inheritance. Object-oriented design. Serious polymorphism, and interfaces: “the caffeine in Java.” Constructors. Memory management. Garbage collection. Java math (static methods and variables, math methods, wrappers, and number formatting). Exception handling. GUIs, event handling, layout managers, and Swing components. Object serialization. File I/O. Networking and threads. Even getting your code ready for release (e.g., code organization, packages, executable JARs, and Java Web Start (which launches your application for the first time as a web browser and then runs it on a stand-alone basis).

Throughout Head First Java, you’ll also find answers to the “dumb questions” other books don’t deign to answer. Oh, and plenty of “Ready-bake code.” You’ll never forget this Java book -- or what you learn from it. Bill Camarda

Bill Camarda is a consultant, writer, and web/multimedia content developer. His 15 books include Special Edition Using Word 2000 and Upgrading & Fixing Networks for Dummies, Second Edition.

Read More Show Less

Product Details

  • ISBN-13: 9781449331443
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 2/9/2005
  • Series: Head First
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 2
  • Pages: 720
  • Sales rank: 104,696
  • File size: 43 MB
  • Note: This product may take a few minutes to download.

Meet the Author

Kathy Sierra has been interested in learning theory since her days as a game developer (Virgin, MGM, Amblin'). More recently, she's been a master trainer for Sun Microsystems, teaching Sun's Java instructors how to teach the latest technologies to customers, and a lead developer of several Sun certification exams. Along with her partner Bert Bates, Kathy created the Head First series. She's also the original founder of the Software Development/Jolt Productivity Award-winning javaranch.com, the largest (and friendliest) all-volunteer Java community.


Bert Bates is a 20-year software developer, a Java instructor, and a co-developer of Sun's upcoming EJB exam (Sun Certified Business Component Developer). His background features a long stint in artificial intelligence, with clients like the Weather Channel, A&E Network, Rockwell, and Timken.

Read More Show Less

Table of Contents

Intro
1 Breaking the Surface: a quick dip 1
2 A Trip to Objectville: yes, there will be objects 25
3 Know Your Variables: primitwes and references 47
4 How Objects Behave: object state affects method behavior 69
5 Extra-Strength Methods: flow control, operations, and more 93
6 Using the Java Library: so you don't have to write it all yourself 121
7 Better Living in Objectville: planning for the future 161
8 Serious Polymorphism: exploiting abstract classes and interfaces 193
9 Life and Death of an Object: constructors and memory management 231
10 Numbers Matter: math, formatting, wrappers, and statics 269
11 Risky Behavior: exception handling 297
12 A Very Graphic Story: intro to GUI, event handling and inner classes 335
13 Work on Your Swing: layout managers and components 381
14 Saving Objects: serialization and I/O 411
15 Make a Connection: networking sockets and multithreading 451
16 Release Your Code: packaging and deployment 509
17 Distributed Computing: RMI with a dash of servlets, EJB, and Fini 535
App. A Final code kitchen 557
App. B Top Ten Things that didn't make it into the rest of the book 587
Index 607
Read More Show Less

Customer Reviews

Average Rating 4.5
( 17 )
Rating Distribution

5 Star

(13)

4 Star

(3)

3 Star

(0)

2 Star

(1)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 17 Customer Reviews
  • Anonymous

    Posted February 16, 2009

    This book makes me look like a genius

    My classmates & professors think I'm a genius. If only they knew what I used to get this way, they would be amazed. I will have to admit the book's style makes it a love it or hate it situation. You'll either think this book is hysterical or totally annoying. I loved it, and found I really understood the material well enough to use it after reading. The other great thing was I understood the material well enough to remember it later, I "owned it". That doesn't happen very often for me. Somehow this book takes some really tough concepts, like generic collections, threads, or serialization, and makes them easy. After reading a hundred pages in other really, really dry boring books and not really getting it, I read a small simple chapter in "Head First" and I got it down cold.

    5 out of 5 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted June 5, 2008

    Great read for new Java programmers

    I had to read this book for my class. Here I was thinking that this would be another boring book of how to code...wrong! This is a very entertaining and educational book. There are many examples and illustrations, and even some fun mind teasers at the end of every chapter! I feel that I gained a lot of information from this book, where previous to reading I was in the dark on how to program Java. I recommend it to the newbies. It is a great read. You just flow from chapter to chapter. It is NOT tedious and boring to read.

    5 out of 5 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
  • Posted April 8, 2010

    Good starting point

    If you're trying to learn Java for the first time, this is a great book. If you're an advanced programmer, not so much.

    1 out of 1 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted January 27, 2011

    No text was provided for this review.

  • Anonymous

    Posted September 9, 2013

    No text was provided for this review.

  • Anonymous

    Posted May 5, 2010

    No text was provided for this review.

  • Anonymous

    Posted January 2, 2010

    No text was provided for this review.

  • Anonymous

    Posted November 19, 2008

    No text was provided for this review.

  • Anonymous

    Posted February 3, 2010

    No text was provided for this review.

  • Anonymous

    Posted December 3, 2009

    No text was provided for this review.

  • Anonymous

    Posted November 23, 2009

    No text was provided for this review.

  • Anonymous

    Posted December 20, 2010

    No text was provided for this review.

  • Anonymous

    Posted January 14, 2009

    No text was provided for this review.

  • Anonymous

    Posted December 1, 2009

    No text was provided for this review.

  • Anonymous

    Posted January 12, 2010

    No text was provided for this review.

  • Anonymous

    Posted October 25, 2008

    No text was provided for this review.

  • Anonymous

    Posted October 16, 2012

    No text was provided for this review.

Sort by: Showing all of 17 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)