int class : int(int) fitter

Description

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

Syntax

new int(int value)

Arguments

ClassNameDescription
intvalueThe value that the new instance has.

Return value

ClassDescription
intA new instance of int class with specified value.

Sample code

int newInt = new int(10);

Notes

None.

Links for reference

None.

Copyright © Rice All rights reserved.