SyntaxFix
Write A Post
Hire A Developer
Questions
if(gender.equals(g1)); <--- if(gender == "Female"); <---
You have semicolon after if.REMOVE IT.