Instantiating an object of a class
To instantiate an object of a class,
You apply the
new
operator
(see
Listing 2
)
To the class' constructor,
Passing parameters that satisfy the required arguments for the constructor.
File: er.htm
[Next]
[Prev]