ASA Programming Guide
Introduction to Java in the Database
A Java seminar
Understanding Java objects
You create an object by invoking a class constructor. A constructor is a method that has the following properties:
A constructor method has the same name as the class, and has no declared data type. For example, a simple constructor for the Product class would be declared as follows:
Product () { ...constructor code here... }
If you include no constructor method in your class definition, a default method is used that is provided by the Java base object.
You can supply more than one constructor for each class, with different numbers and types of arguments. When a constructor is invoked, the one with the proper number and type of arguments is used.