Quote (axid3nt @ Mar 8 2015 09:32pm)
Yeah, the getter/setter.
I need to have a constructor to set the value, but I also need to have the program start without the value being false.
Seems like a logical concept, but kind of kicking at rocks figuring it out.
you mean starts neither false nor true? look into alternatives to boolean, eg use a flag (int, string, enum, etc). alternatively you can use Boolean wrapper class, but i'm not a fan of that as a means to use 3 states.
or if you mean start it as true, then make that your default value.
This post was edited by carteblanche on Mar 8 2015 07:59pm