datatype of marriage status? (java)

datatype of marriage status? (java)
May I know what datatype to use for Marriage Status? as far as I know Marriage status is either married or not married, is it possible to use boolean in this case? true/false else what am I supposed to use? Thanks!! boolean marriageStatus; if(marriageStatus = true) { // }

Take Your Experience to the Next Level

New

Download our mobile app for a faster and better experience.

Comments

0
U

Join the discussion

Sign in to leave a comment

0:000:00