Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Movie
- {
- public static final int CHILDREN = 2;
- public static final int REGULAR = 0;
- public static final int NEW_REALEASE = 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;
- }
- }
Add Comment
Please, Sign In to add comment