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
NewDownload our mobile app for a faster and better experience.
Comments
0U
Join the discussion
Sign in to leave a comment