Programming and Problem Solving with Java

(やまだぃちぅ) #1
751

Colmerauer, Alain, 430
Color television, experimentation with, 98
Columbia Data Products, 522
Column heading, 384
Column processing, and initializing the
array, 589, 590
Columns, 581
and GridLayout, 382, 383, 384
processing by, 621
subarray processing by, 589
in two-dimensional arrays, 582, 583
Combinatorial analysis, 121
Combined assignment operators, 449 , 450
Commas
and initializing arrays, 488
searching for, 236–237
in for statement, 446
Commenting out a piece of code, 255
Comments, 50, 58, 70, 299
adding to code, 64
and declarations, 56
delimiting, 87
Commodore, 478
Common Business Oriented Language.See
COBOL
CompanyAddressclass, 337
CRC card for, 331
Comparableinterface, 571, 572
and generic lists, 559–561
Comparableparameter, 571
compareArraysmethod, 493
compareTomethod, 159, 160, 533, 534, 559
Compilation
relationship to interpretation and exe-
cution, 14–15
tests performed during, 194
Compilation units, 295, 299, 316
packages with multiple, 296
and superclasses, 365
Compiler, 11, 34, 77
and code formatting, 124
and file searching, 131
and floating-point literals, 105
and metalanguages, 44
responsibilities of, 194
Compile-time errors
arithmetic operations applied to
character data and, 480


and index expressions of type long, 489
Complexity
and internal data representation, 291
of searching and sorting, 557–558
Complexity expression, 455
Complexity of algorithm, 452, 455
Component access method, 500
Componentclass, 333
Components
accessing in multidimensional arrays,
621
accessing in two-dimensional arrays,
582, 583–584
array name with brackets as, 498
sorting in ascending/descending order,
542
Composite data types, 481, 482 , 512
Composite object, class of, 482
Composite types, 571
Compound arithmetic expressions,
114–120
precedence rules for, 114–115
type conversion and type casting with,
115–120
Compound expressions, 108
Compound statements, 169–170
Computer
limitations of in doing calculations, 581
modern, 431
as Time magazine’s “Man of the Year,”
523
Computer-aided design program, 326
Computer-aided design systems, early,
325
Computer-entertainment industry, 430
Computer graphics, 581
Computer mouse, invention of, 325
Computer program, 5
Computer programming, 5, 33
Computer resources, ethical use of,
302–303
Computers, 33, 276
basic components of, 20
as chess match winners, 658
floating-point numbers implemented
in, 596–601
operations performed by, 15
parts of, 34
Free download pdf