![]() |
Section 6.8.9:
|
![]() |
Sather defines two forms of creation expression; one which is programmer defined but has a special syntax variant - otherwise being identical to any other routine call; the other is an expression used when creating a new reference object which is the return value of the method call.
Routine methods entitled 'create' have an operator form and a method call form. The method call syntax is the same as that for any other method. Using an operator the syntax is given below.
All non-immutable object creation requires the use of the new expression below. Note that an expression must be provided when creating an object which has an array component (see constructor class AREF).
![]() |
Specification Index | ![]() |
Language Index | ![]() |
Section 6 Index |
Comments
or enquiries should be made to Keith Hopper. Page last modified: Tuesday, 23 May 2000. |
![]() |