i've got a subclass of something that carries a lot more information than the superclass. if i explicitly upcast an object of the subclass, will it still retain the information from the superclass? i'm looking to save memory.. and if i don't need everything from the superclass, i'd rather not return an object of superclass if i don't have to.
Liam Morley
lmorley@wpi.edu
"light the deep, and bring silence to the world.
light the world, and bring depth to the silence."
Liam Morley
lmorley@wpi.edu
"light the deep, and bring silence to the world.
light the world, and bring depth to the silence."