Java Tutorials
This site is intended for aspiring java developers.
Pages
(Move to ...)
Home
▼
Wednesday, February 22, 2012
Choosing good abstractions
›
Coupling and cohesion The efficiency of the programs you design depends on how well you choose the classes they use. Well-abstracted class...
102 comments:
Objects, classes, and UML
›
Classes in UML A class is represented in UML by a rectangle with three compartments. These are Class attributes operations() Class ...
15 comments:
State, behavior, and identity
›
Objects Much of the power and flexibility of modern software analysis and design derives from its use of objects. The use of objects allo...
239 comments:
Thursday, February 16, 2012
Runtime and checked exceptions
›
Java packages contain Exception subclasses that describe exceptions that are specific to each package. Each subclass of Exception represe...
7 comments:
The Throwable class
›
All Java exceptions and errors are subclasses of a class in the java.lang package called Throwable . Only an object of type Throwable can...
4 comments:
Wednesday, February 15, 2012
Using try, catch, and finally blocks
›
Java's exception-handling code is specified within a try...catch...finally block. The try block encloses the code that might cause a...
13 comments:
Introducing exception handling
›
In programming terms, an exception is an event that stops the normal execution of a program. For example, a program might try to access an...
46 comments:
›
Home
View web version