Programming and Problem Solving with Java

(やまだぃちぅ) #1

748


Brainstorming, 285, 315
for address book case study, 304
in address book extension case study,
359
for address books merging case study,
562
for calculator case study, 412
for grading true/false tests case study,
502
identifying initial classes through,
277–278
for Listclass, 525
for matrix manipulation case study, 605
for monthly rainfall averages case
study, 459
for rainfall amounts case study, 402
for searching experiments case study,
671
for SortedListclass, 543–544
Branches, 18, 252
conditional, 193
multiway, 174, 175
testing application/method with, 191,
192
two-way, 431
Branching, 154
Branching control structure, 155
Branching statements, checking
conditions in, 197
Bravo, 431
breakstatements, 431, 439, 440, 441
omitting those inside of switch
statements, 442
in switch statements, 468
Bricklin, Dan, 479
Browsers, 635, 659, 660, 668, 669
BufferedReaderclass, 69, 88, 100, 138, 254,
255, 273, 355, 358, 432
in display a name in multiple formats
case study, 83
and java.io, 213
readLinemethod in, 68, 217, 256
relationship between FileReaderand,
214
and skipmethod, 218
BufferedReaderobject, 69, 130, 141, 158
BufferedReadervariable, 73

Bugs, 34, 191, 193
origin of word for, 152, 443
Building-block approach, 27 , 275
in problem-solving, 27
in rainfall amounts case study, 405
Building blocks, 34
Built-in types, 47–50
Bureau of Ordnance Computation Project
(Harvard University), 443
Burroughs, William S., 40
Bushnell, Nolan, 430
BusinessPhoneclass, 352
CRC card for, 349
Button event listener
creating and registering, 387–390
declaration of, 420
Button events, multiple, 409–411
Button handler, 389
ButtonHandlerclass, 388–389, 391–392
ButtonHandlerobject, declaring, instan-
tiating and registering with button,
392
Buttons, 385, 420, 672
adding to frames, 386, 391
classes for, 333
creating, 385–387
frame with two, 409
and input text fields, 671
Byron, Anna Isabella (Annabella), 338
Byron, Augusta Ada SeeLovelace, Ada
Byron, Lord George Gordon, 338
Bytecode, 12, 13, 14, 34, 158, 194, 341, 561,
669, 676, 677
and applets, 660, 667
compilation/execution of JVM
combined with
compilation/execution of, 16
files, 294
Bytes, 9, 68, 480
bytetype, 103, 105, 163, 439, 480
index expressions as, 489
switch expression and, 467

C
C, 113, 430
C#, 271
C++, 11, 14, 113, 271, 480, 490, 580
Free download pdf