Skip to content

Instantly share code, notes, and snippets.

@rightson
Last active July 6, 2016 00:28
Show Gist options
  • Save rightson/fb74cf712f4564b058486bc33742cb79 to your computer and use it in GitHub Desktop.
Save rightson/fb74cf712f4564b058486bc33742cb79 to your computer and use it in GitHub Desktop.
public class Movie {
public static final int CHILDRENS = 2;
public static final int REGULAR = 0;
public static final int NEW_RELEASE = 1;
private String _title;
private int _priceCode;
public Movie(String title, int priceCode) {
_title = title;
_priceCode = priceCode;
}
public int getPriceCode() {
return _priceCode;
}
public void setPriceCode(int arg) {
_priceCode = arg;
}
public String getTitle (){
return _title;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment