Created
March 1, 2019 09:07
-
-
Save jskeet/41ebe367ca480a7cd23080fec0fb41ad to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| class StoreVO { | |
| private Integer activationStatus; | |
| public Integer getActivationStatus() { | |
| return activationStatus; | |
| } | |
| public void setActivationStatus(Integer activationStatus) { | |
| this.activationStatus = activationStatus; | |
| } | |
| } | |
| public class Test { | |
| public static void main(String[] args) { | |
| StoreVO svo = new StoreVO(); | |
| svo.setActivationStatus(3); | |
| if (svo.getActivationStatus() == 3) { | |
| System.out.println("It works"); | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment