Head First Java, 2nd Edition

Head First Java, 2nd Edition

Kathy Sierra, Bert Bates

Language: English

Pages: 688

ISBN: 0596009208

Format: PDF / Kindle (mobi) / ePub


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.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

application). If you don’t have errors, you’ll get a second document named Party.class The compiler-generated Party.class file is made up of bytecodes. Method void buildInvite() 0 new #2 3 dup 4 invokespecial #3 Output (code) 3 Compiled code: Party.class Virtual Machines 4 Run the program by starting the Java Virtual Machine (JVM) with the Party.class file. The JVM translates the bytecode into something the underlying platform understands, and

Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O’Reilly Media books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (safari.oreilly.com). For more information, contact our corporate/institutional sales department: (800) 998-9938 or corporate@oreilly.com. Editor: Mike Loukides Cover Designer: Edie Freedman Interior Designers: Kathy Sierra and Bert Bates Printing History: May

been a member of the development team for several of Sun’s Java Certification exams. He spent the first decade of his software career travelling the world to help broadcast clients like Radio New Zealand, the Weather Channel, and the Arts & Entertainment Network (A & E). One of his all-time favorite projects was building a full rail system simulation for Union Pacific Railroad. Bert is a hopelessly addicted Go player, and has been working on a Go program for way too long. He’s a fair guitar

varia d on this DotCom to give it the locatiho print brief on you just got instructions for from the helper user objects, give ‘em make three DotkCo‘emm in the ArrayList call our own finishGame method names, and stic 146 chapter 6 call our own checkU se rGuess method as long as the DotCom list is NOT empty get to know the Java API prep code test code private void realcode code real checkUserGuess(String userGuess) { numOfGuesses++; 11 String result = “miss”; 12 for (DotCom

if it thinks you’re passively listening to a presentation. Your brain does this even when you’re reading. We included more than 50 exercises , because your brain is tuned to learn and remember more when you do things than when you read about things. And we made the exercises challenging-yet-do-able, because that’s what most people prefer. We used multiple learning styles, because you might prefer step-by-step procedures, while someone else wants to understand the big picture first, while someone

Download sample

Download