If you write a class definition, but do not write a constructor method for the class, how is it that you can still create objects of the class?
Magical elves sneak in during the night and create an enchanted constructor invisible to the human eye. They then rifle through your belongings and raid your fridge before escaping into the nth dimension.
-Rob Macintosh
(This was a midterm question. Full marks were recieved. Scan coming soon.)
1 Comments:
It might have been me in the fridge.. sorry.
Mmm tasty food.
Post a Comment
Subscribe to Post Comments [Atom]
<< Home