Subject: [sv-bc] FW: Question on nested classes from Francoise.
From: David W. Smith (david.smith@synopsys.com)
Date: Fri Apr 11 2003 - 18:19:30 PDT
Reply to one of the questions in Francoise's Section 12 review.
Regards
David
-----Original Message-----
From: Mehdi Mohtashemi [mailto:mehdi@Synopsys.COM]
Sent: Friday, April 11, 2003 6:16 PM
To: David W. Smith; 'Arturo Salz'
Subject: RE: Question on nested classes from Francoise.
[by embedding class, this is a class defined inside another class, and
class instantiated in another class]
No. The instantiation has to occur by calling the appropriate constructor.
The top class constructor usually takes care of this if it is required, but
it is not automatic. Objects have to be instantiated.
- Mehdi
-----Original Message-----
From: David W. Smith [mailto:david.smith@synopsys.COM]
Sent: Friday, April 11, 2003 3:37 PM
To: 'Mehdi Mohtashemi'; 'Arturo Salz'
Subject: Question on nested classes from Francoise.
Here is a question from Francoise.
Q: when the embedding class is instantiated, are all the nested classes
instantiated?
David W. Smith
This archive was generated by hypermail 2b28 : Fri Apr 11 2003 - 18:18:02 PDT