Teach Yourself Java in 21 Days


Download 5.76 Mb.
Pdf ko'rish
bet17/39
Sana04.10.2023
Hajmi5.76 Mb.
#1691415
1   ...   13   14   15   16   17   18   19   20   ...   39
Bog'liq
Learn Java

Day
17
Exceptions
341
Programming in the Large ...................................................................... 342
Programming in the Small ...................................................................... 345
The Limitations Placed on the Programmer ........................................... 348
The finally Clause ................................................................................... 349
Summary ................................................................................................ 350
Q&A ...................................................................................................... 351
030-4 FM
1/29/96, 8:11 PM
15


Teach Yourself JAVA in 21 Days
M
T W
T F
S S
21
xvi
P2/V4SQC6 TY Java in 21 Days 030-4 louisa 12.31.95
FM LP#4
Day
18
Multithreading
353
The Problem with Parallelism ................................................................. 354
Thinking Multithreaded ......................................................................... 355
Points About Points ........................................................................... 357
Protecting a Class Variable ................................................................. 360
Creating and Using Threads ................................................................... 361
The Runnable Interface ...................................................................... 362
ThreadTester ...................................................................................... 363
NamedThreadTester ........................................................................... 365
Knowing When a Thread has Stopped ................................................... 366
Thread Scheduling ................................................................................. 367
Preemptive Versus Nonpreemptive .................................................... 367
Testing Your Scheduler ...................................................................... 368
Summary ................................................................................................ 371
Q&A ...................................................................................................... 372

Download 5.76 Mb.

Do'stlaringiz bilan baham:
1   ...   13   14   15   16   17   18   19   20   ...   39




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling