Last active
February 24, 2019 09:16
-
-
Save priesdelly/0c356073c7826f09bff9a116d16cfd03 to your computer and use it in GitHub Desktop.
Model class for example test in java
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
class TestModel { | |
private static int value1; | |
private int value2; | |
public static int getValue1() { | |
return value1; | |
} | |
public static void setValue1(int value1) { | |
TestModel.value1 = value1; | |
} | |
public int getValue2() { | |
return value2; | |
} | |
public void setValue2(int value2) { | |
this.value2 = value2; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment