pair class : pair(class,class) fitter

Description

Returns an instance that is initialized by any instances.

Syntax

new pair(class first, class second)

Arguments

ClassNameDescription
classfirstAny instance.
classsecondAny instance.

Return value

ClassDescription
pairInitialized instance

Sample code

1:

pair newPair = new pair(150,"second");

Notes

None

Links for reference

None

Copyright © Rice All rights reserved.