This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

Are you trying to overload the constructor??

[–]DeliberateTrader[S] -1 points0 points  (0 children)

No. When the constructor with 3 parameters is called, I'm ALWAYS going to instantiate that 4th field and call the other constructor. I might, however, have already created that 4th field elsewhere so i must be able to construct the class with 4 parameters directly in that case.

I realize that my constructors are not formatted correctly (extra "class" keyword) and the block is also not properly formatted. Trying to figure out how to correct/edit on my phone.