| ||||||
| 5/21 |
| 2004/4/13-14 [Computer/SW/Languages/Java] UID:13180 Activity:nil |
4/13 If I'm aggregating an array of C++ objects in my class like this:
class Foo {
...
Bar myBars[10];
}
Will Bar constructor be called for each myBars instance?
\_ why don't you just try it and see? but yes, the default
constructor will be called. |
| 5/21 |
|