1234567891011121314151617181920212223242526 |
- public class Movie {
-
- public static final int CHILDRENS = 2;
- public static final int REGULAR = 0;
- public static final int NEW_RELEASE = 1;
-
- private final String title;
- private int priceCode;
-
- public Movie( String title, int priceCode ) {
- this.title = title;
- this.priceCode = priceCode;
- }
-
- public String getTitle() {
- return title;
- }
-
- public int getPriceCode() {
- return priceCode;
- }
-
- public void setPriceCode( int priceCode ) {
- this.priceCode = priceCode;
- }
- }
|