Last active
July 6, 2016 00:28
-
-
Save rightson/fb74cf712f4564b058486bc33742cb79 to your computer and use it in GitHub Desktop.
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 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