Created
January 21, 2016 13:27
-
-
Save kamatama41/191f065e27e08eb972c5 to your computer and use it in GitHub Desktop.
Example of InnerClass
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
public class Currency { | |
public static enum Type { | |
JPY, USD, EUR, | |
} | |
private Type type; | |
private double rate; | |
// getter, setter 略 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment