Last active
May 30, 2016 16:08
-
-
Save huowa222/6080790 to your computer and use it in GitHub Desktop.
hello , my first gist code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class sexIdentifier { | |
public static final String HOMOSEXUAL = "homo"; | |
public static final String STRAIGHT = "straight"; | |
public static void main(String args[]){ | |
public String identifyGender(String yourGender, String belovedGender){ | |
if(yourGender.equals(belovedGender)){ | |
return HOMOSEXUAL; | |
}else{ | |
return STRAIGHT; | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
funny? that's my first github open source