class constructor

Sep 28, 2014 at 8:22am
should i only use constructor if i used set and get?

because it says constructor should not have return or void
Sep 28, 2014 at 8:28am
I don't fully understand but the answer is probably "no".
Sep 28, 2014 at 8:32am
closed account (SECMoG1T)
Construction can be done even for classes without getters n setters
Topic archived. No new replies allowed.