Op werkdagen voor 23:00 besteld, morgen in huis Gratis verzending vanaf €20
, ,

Head First Java

A Learner's Guide to Real -World Programming (Covers Java 8-17)

Paperback Engels 2022 9781491910771
Verwachte levertijd ongeveer 15 werkdagen


What will you learn from this book?Ready to learn Java? This book 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. The new third edition brings the book up-to-date for Java 8-17, including major recent updates to the Java language and development platform. Java has seen some deep code-level changes and more modern approaches, requiring even more careful study and implementation.

So learning the Head First way is more important than ever. What's so special about this book? 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.

With this book, you'll learn Java through a multi-sensory experience that engages your mind rather than a text-heavy approach that puts you to sleep.


Aantal pagina's:716
Hoofdrubriek:IT-management / ICT


Wees de eerste die een lezersrecensie schrijft!


1. Dive in A Quick Dip: Breaking the Surface
The Way Java Works
What you’ll do in Java
A Very Brief History of Java
Speed and Memory Usage
Sharpen your pencil Answers
Code structure in Java
What goes in a source file?
What goes in a class?
What goes in a method?
Anatomy of a class
Writing a class with a main
What can you say in the main method?
Looping and looping and...
Simple boolean tests
There are no dumb Questions
Example of a while loop
Conditional branching
Coding a Serious Business Application
Monday Morning at Bob’s Java-Enabled House
Code Magnets
BE the compiler
JavaCross 7.0
Pool Puzzle
Exercise Solutions
puzzle answers

2. Classes and Objects: A Trip to Objectville
Chair Wars
(or How Objects Can Change Your Life)
In Larry’s cube
At Brad’s laptop at the cafe
Larry thought he’d nailed it. He could almost feel the rolled steel of the Aeron beneath his...
Back in Larry’s cube
At Brad’s laptop at the beach
Larry snuck in just moments ahead of Brad.
Back in Larry’s cube
At Brad’s laptop on his lawn chair at the Telluride Bluegrass Festival
So, Brad the OO guy got the chair and desk, right?
What about the Amoeba rotate()?
The suspense is killing me. Who got the chair and desk?
Brain Power
When you design a class, think about the objects that will be created from that class t ype. Think about:
What’s the difference between a class and an object?
A class is not an object.
Making your first object
Making and testing Movie objects
Quick! Get out of main!
The Guessing Game
Running the Guessing Game
There are no Dumb Questions
BE the compiler
Code Magnets
Pool Puzzle
Exercise Solutions
Puzzle Solutions
Pool Puzzle
Who am I?

3. Primitives And References: Know Your Variables
Declaring a variable
variables must have a type
variables must have a name
“I’d like a double mocha, no, make it an int.”
Primitive Types
You really don’t want to spill that...
Back away from that keyword!
Controlling your Dog object
An object reference is just another variable value.
The 3 steps of object declaration, creation and assignment
There are no Dumb Questions
Java Exposed
Life on the garbage-collectible heap
Life and death on the heap
An array is like a tray of cups
Arrays are objects too
Make an array of Dogs
Control your Dog
What happens if the Dog is in a Dog array?
A Dog example
BE the compiler
Code Magnets
Pool Puzzle
A Heap o’ Trouble
The case of the pilfered references
Exercise Solutions
Puzzle Solutions
The case of the pilfered references

4. methods use instance variables: How Objects Behave
Remember: a class describes what an object knows and what an object does
Can every object of that type have different method behavior?
The size affects the bark
You can send things to a method
You can get things back from a method.
You can send more than one thing to a method
Calling a two-parameter method, and sending it two arguments.
There are no Dumb Questions
Reminder: Java cares about type!
Cool things you can do with parameters and return types
Do it or risk humiliation and ridicule.
Hide the data
Java Exposed
Encapsulating the GoodDog class
How do objects in an array behave?
Declaring and initializing instance variables
The difference between instance and local variables
There are no Dumb Questions
Comparing variables (primitives or references)
BE the compiler
Mixed Messages
Pool Puzzle
Fast Times in Stim-City
Exercise Solutions
Puzzle Solutions

5. Writing a Program: Extra-Strength Methods
Let’s build a Battleship-style game: “Sink a Startup”
First, a high-level design
The “Simple Startup Game” a gentler introduction
Developing a Class
Brain Power
SimpleStartup class
Writing the method implementations
let’s write the real method code now, and get this puppy working.
Writing test code for the SimpleStartup class
There are no Dumb Questions
The checkYourself() method
Just the new stuff
There are no Dumb Questions
Final code for SimpleStartup and SimpleStartupTester
Prepcode for the SimpleStartupGame class
The game’s main() method
random() and getUserInput()
One last class: GameHelper
Let’s play
What’s this? A bug ?
More about for loops
Regular (non-enhanced) for loops
Trips through a loop
Difference between for and while
The enhanced for loop
Casting primitives
BE the JVM
Code Magnets
Mixed Messages
Exercise Solutions
Puzzle Solutions

Managementboek Top 100


Populaire producten



        Head First Java