Java_-_How_To_Program_9ed.pdf

(24722 KB) Pobierz
D
EITEL
®
H
OW TO
P
ROGRAM
S
ERIES
Cover Theme
The cover theme for the
D
EITEL
®
H
OW TO
P
ROGRAM
S
ERIES
emphasizes social consciousness issues such as
going green, clean energy, recycling, sustainability and more. Within the text, in addition to conventional program-
ming exercises, we’ve included our Making a Difference exercise set to raise awareness of issues such as global
warming, population growth, affordable healthcare, accessibility, privacy of electronic records and more. In this
book, you’ll use Java to program applications that relate to these issues. We hope that what you learn in
Java How to Program,
9/e will help you to make a difference.
Night at the Niagara Falls—Ontario and New York
The Niagara Falls waterfalls straddle the border between Ontario, Canada and upstate
New York in the United States. Horseshoe Falls is located on the Canadian side, and
American Falls and Bridal Veil Falls are on the U.S. side.
The Niagara Falls are an awe-inspiring, world-class tourist attraction, and a
significant source of hydroelectric power. On average, nearly four million cubic feet
of water falls over the crest line each minute. The U.S. and Canada harness the natu-
ral energy from Niagara Falls to generate clean, inexpensive electricity. The first
hydroelectric generating station on the Niagara River was built in 1881. Its electricity
powered local mills and street lights. The Niagara Redevelopment Act, passed by
the U.S. Congress in 1957, gave the New York Power Authority the right to develop
the U.S. Niagara River hydroelectric power plants. The Niagara Falls hydroelectric project began operating in 1961.
Up to 375,000 gallons of water per second is diverted from the river through conduits to the power plants. The
water spins turbines that power generators that convert the mechanical energy into electrical energy. Today,
the project generates 2.4 million kilowatts, which can power 24 million 100-watt light bulbs simultaneously. For
further information visit:
en.wikipedia.org/wiki/Niagra_falls
www.nypa.gov/facilities/niagara.htm
www.niagarafrontier.com/power.html
About Deitel & Associates, Inc.
Deitel & Associates, Inc., is an internationally recognized authoring and corporate training organization. The com-
pany offers instructor-led courses delivered at client sites worldwide on programming languages and other software
topics such as Java
, C#
®
, Visual Basic
®
, Visual C++
®
, C++, C, Objective-C
®
, XML
®
, Python
®
, JavaScript, object
technology, Internet and web programming, and Android and iPhone app development. The company’s clients in-
clude many of the world’s largest companies, as well as government agencies, branches of the military and academic
institutions. To learn more about Deitel Pearson Higher Education publications and Dive Into
®
Series corporate
training, e-mail
deitel@deitel.com
or visit
www.deitel.com/training/
.
Follow Deitel on Facebook
®
at
www.deitel.com/deitelfan/
and on Twitter
®
@deitel
.
Deitel® Series Page
How To Program Series
Java™ How to Program, 9/E
Java™ How to Program, Late Objects Version, 8/E
C++ How to Program, 8/E
C How to Program, 6/E
Internet & World Wide Web How to Program, 4/E
Visual Basic
®
2010 How to Program
Visual C#
®
2010 How to Program, 3/E
Visual C++
®
2008 How to Program, 2/E
Small Java
How to Program, 6/E
Small C++ How to Program, 5/E
(continued)
Simply Visual Basic 2008: An App-Driven
Tutorial Approach, 3/E
Visual Basic
®
2010 How to Program
Visual Basic
®
2008 How to Program
Visual C#
®
2010 How to Program, 4/E
Visual C#
®
2008 How to Program, 3/E
Deitel
®
Developer Series
AJAX, Rich Internet Applications and Web
Development for Programmers
Android for Programmers: An App-Driven
Approach
C++ for Programmers
C# 2010 for Programmers, 3/E
iPhone for Programmers: An App-Driven Approach
Java™ for Programmers
JavaScript for Programmers
Simply Series
Simply C++: An App-Driven Tutorial Approach
Simply Java
Programming: An App-Driven
Tutorial Approach
Simply C#: An App-Driven Tutorial Approach
Simply Visual Basic
®
2008, 3/E: An App-Driven
Tutorial Approach
LiveLessons Video Learning Products
www.deitel.com/books/LiveLessons/
CourseSmart Web Books
www.deitel.com/books/CourseSmart/
C++ How to Program, 5/E, 6/E, 7/E & 8/E
Java™ How to Program, 6/E, 7/E, 8/E & 9/E
Simply C++: An App-Driven Tutorial Approach
(continued next column)
Java™ Fundamentals
C# Fundamentals
C++ Fundamentals
iPhone
®
App Development Fundamentals
JavaScript Fundamentals
Visual Basic Fundamentals
To receive updates on Deitel publications, Resource Centers, training courses, partner offers and more,
please register for the free
Deitel
®
Buzz Online
e-mail newsletter at:
www.deitel.com/newsletter/subscribe.html
follow us on Twitter
®
@deitel
and become a Deitel & Associates fan on Facebook
®
www.deitel.com/deitelfan/
To communicate with the authors, send e-mail to:
deitel@deitel.com
For information on government and corporate
Dive-Into
®
Series
on-site seminars offered by Deitel &
Associates, Inc. worldwide, visit:
www.deitel.com/training/
or write to
deitel@deitel.com
For continuing updates on Prentice Hall/Deitel publications visit:
www.deitel.com
www.pearsonhighered.com/deitel/
Check out our Resource Centers for valuable web resources that will help you master Java, other impor-
tant programming languages, software and, Internet- and web-related topics:
www.deitel.com/ResourceCenters.html
Paul Deitel
Deitel & Associates, Inc.
Harvey Deitel
Deitel & Associates, Inc.
Zgłoś jeśli naruszono regulamin