Created
December 16, 2015 16:21
-
-
Save lowenthal-jason/dec4e0ca734ca17ef63b to your computer and use it in GitHub Desktop.
Example domain class written in Java for Multilingual Programming post on Simple Programmer
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 StarfleetCadet { | |
private boolean klingonSpeaker; | |
public boolean isKlingonSpeaker(){ | |
return this.klingonSpeaker; | |
} | |
public void setKlingonSpeker(boolean klingonSpeakerIn){ | |
this.klingonSpeaker = klingonSpeakerIn; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment