Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Buy Now $35.99
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
3Activity

Table Of Contents

The Way Java Works
the way Java works
Code structure in Java
Anatomy of a class
Making your first object
Life on the garbage-collectible heap
Using the Library (the Java API)
Some classes just should not be instantiated!
Polymorphism in action
Get in touch with your inner Object
The miracle of object creation
Initializing the state of a new Duck
Number formatting
number formatting
Flow control in try/catch blocks
Getting a user event
Getting a button’s ActionEvent
Swing components
Writing a serialized object to a file
Reading from a Text File
The dreaded “Lost Update” problem
Deployment options
Put your classes in packages!
Compiling and running with packages
Making an executable JAR with packages
Indexh
0 of .
Results for:
No results containing your search query
P. 1
Head First Java

Head First Java

Ratings:

4.03

(93)
|Views: 57 |Likes:

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.

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.

More info:

Publish date: Feb 9, 2005
Added to Scribd: Jan 10, 2014
Copyright:Traditional Copyright: All rights reservedISBN:9780596800765
List Price: $35.99 Buy Now

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
See more
See less

07/31/2014

722

9780596800765

$35.99

USD

pdf

text

original

You're Reading a Free Preview
Pages 29 to 492 are not shown in this preview.
You're Reading a Free Preview
Pages 521 to 528 are not shown in this preview.
You're Reading a Free Preview
Pages 565 to 644 are not shown in this preview.
You're Reading a Free Preview
Pages 673 to 722 are not shown in this preview.

Activity (3)

You've already reviewed this. Edit your review.
ninjafinity reviewed this
Rated 5/5
When I got this book, the most I had done with computer programming was playing around with basic commands in BASIC. It explains all the concepts in a clear and concise, yet humorous way. [Head First Java] advertises itself as a "learning book", and it certainly lives up to that expectation. It took me from knowing next to nothing about Java, or even object-oriented programming, to having a fairly firm grasp of Java's basic concepts. It also says that it isn't a reference book. While it may not have been designed as one, I find that I can go back and use various lessons as references when I've forgotten a line of code they used, etc. All in all, this book was a great investment, and I'm very glad I read it.
johnemersonsfoot reviewed this
Rated 5/5
I hated Java six years ago. Reading this in order to get myself back up to date on the subject, I've....upgrading to grudging respect. And it takes one hell of a book to accomplish that.
1 hundred reads

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->