img Miracle04

TIJ swot_JAVA的初学者(六)

发表于2004/9/16 4:27:00  691人阅读

1.8 Exception handling: dealing with errors

An exception is an object thrown from the site of the error.

Exception handling is like a different, parallel path of execution.

Exception canot be ignored.

Excetion provide a way to reliably recover from a bad situation.

1.9 Multithreading

Here is an interesing part.

Java builds threads into language, then without hardware suspension, the program is logically divided into threads.

And to solve the problem of share recources, Java enables a thread to lock a resource.This is accomplished using the synchronized keyword.

1.10 Persistence

1.11 Java and the Internet

client/server computing



0 0



取 消