Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class InternationalStudent extends Student {
- private String country;
- public InternationalStudent() {
- super();
- }
- public InternationalStudent(String name, String address, String school,
- double grade, String country) {
- super(name, address, school, grade);
- this.country = country;
- }
- public String getCountry() {
- return country;
- }
- public void setCountry(String country) {
- this.country = country;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement