Objects do not have names at run time. They only have addresses. You can not do what you are trying to do, that way. You CAN create arrays, including arrays of objects.
Objects do not have names at run time. They only have addresses. You can not do what you are trying to do, that way. You CAN create arrays, including arrays of objects.