SyntaxFix
Write A Post
Hire A Developer
Questions
You need an assignment operator so that:
arrayOfAs[i] = A(3);
works as it should.