Skip to content

Instantly share code, notes, and snippets.

@AndersonChoi
Created March 10, 2017 06:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndersonChoi/e79144478e0c4a6540f4600e200c9bce to your computer and use it in GitHub Desktop.
Save AndersonChoi/e79144478e0c4a6540f4600e200c9bce to your computer and use it in GitHub Desktop.
class NewBook implements Book{
private final int code=2;
private final int point=800;
@Override
public int priceCode(){
return this.code;
}
@Override
public int getPointPercent(){
return this.point;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment