when one or more entities created using .new operator the entities are of the same name. how can i access that entities and its attributes
entity1.a=60 then using new operator we create entity1.a=50, entity1.a=40, entity1.a=30, entity1.a=20
my question is how can i add entity1.a=60 and entity1.a=30 and also how can i use that specific value in some other calculation.
can the new operator be used like new operator in java