long class : long(int) fitter

Description

Get a new instance of long class with the same value as the argument.

Syntax

new long(int value)

Arguments

ClassNameDescription
intvalueThe value that the new instance has.

Return value

ClassDescription
longA new instance of long class with specified value.

Sample code

long newLong = new long(10);

Notes

None.

Links for reference

None.

Copyright © Rice All rights reserved.