Originally Posted by
CruiseDevice
Is there any connection between packages and exception handling in java. Means is it necessary to create a package before trying exception handling examples?
No. A package is used to 'pack' a group of project files together that then form
the application. Every source file related to that application must have the same
package name as all the other source files. Packages are very useful in having
larger applications that contain various classes. It's a bit like C++ where classes
have "header files" and the header file had to have the same name as the source file
in order for the compiler to find it.
Wishes Ada xx