THE Java™ Programming Language, Fourth Edition

(Jeff_L) #1
Dare to be naïve.

R. Buckminster Fuller

9 Operators and Expressions 201


Work is of two kinds: first, altering the position of matter at or near the earth's surface relative
to other matter; second, telling other people to do so.

Bertrand Russell

Math was always my bad subject. I couldn't convince my teachers that many of my answers
were meant ironically.

Calvin Trillin

10 Control Flow 229


"Would you tell me, please, which way I ought to go from here?" "That depends a good deal
on where you want to get to."

Lewis Carroll, Alice in Wonderland

Furious activity is no substitute for understanding.

H.H. Williams

11 Generic Types 247


The problem with people who have no vices is that generally you can be pretty sure they're
going to have some pretty annoying virtues.

Elizabeth Taylor

Nearly all men can stand adversity, but if you want to test a man's character, give him power.

Abraham Lincoln

12 Exceptions and Assertions 279


A slipping gear could let your M203 grenade launcher fire when you least expect it. That
would make you quite unpopular in what's left of your unit.

The U.S. Army's PS magazine, August 1993

The greatest of all faults is to be conscious of none.

-Thomas Carlyle

13 Strings and Regular Expressions 305


What's the use of a good quotation if you can't change it?

Dr. Who, The Two Doctors
Free download pdf