array of Fred objects?

Go4Expert Member
25Mar2008,16:03   #1
sareen's Avatar
Which constructor gets called when I create an array of Fred objects?
Contributor
25Mar2008,16:15   #2
lead.smart34's Avatar
default constructor
Go4Expert Founder
25Mar2008,16:19   #3
shabbir's Avatar
Quote:
Originally Posted by lead.smart34
default constructor
The biggest question is what is Fred?
Contributor
25Mar2008,16:23   #4
lead.smart34's Avatar
Quote:
Originally Posted by shabbir
The biggest question is what is Fred?
objects are related to classes, so whenever an array of anything is created it always the default constructor is called first