|
|

|  |
Introduction to Unit 10 This unit presents three related features of Java. Firstly, the relatively straightforward way that an applet can be converted into an application is investigated. The reason for doing this is usually when there is a desire to write a program that uses Java features that are restricted for applets, such as file handling. Files and file handling is investigated, mainly concentrating on the most commonly encountered type of files text files. A feature of all robust and well written programs is that they cope appropriately with incorrect user responses, and situations such as missing files. The last section of this unit investigates the mechanisms of writing programs that both respond to system generated exceptions, and also user-defined and generated exceptions. If you go on from this module and programme in situations where you are developing large-scale programs, you will be likely to have to write programs that involve all three of the Java features presented in this unit. Back to top 
RITSEC - Global Campus Copyright ?1999 RITSEC- Middlesex University. All rights reserved. webmaster@globalcampus.com.eg |
|