0

I have a subclass with 4 attributes and a subclass with 3 attributes.
I want to store my subclass instances in a list. Can I have one list for both of them or do I have to create another list because the number of attributes is different?
Thanks !

2
Contributors
1
Reply
2
Views
9 Years
Discussion Span
Last Post by targ
1

This post is sort of confusing, can you show an example? And what do you plan on doing with the list?

Votes + Comments
Thank You
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.