Advertisement
Kur23

WAFEGRHDTJFYG

May 16th, 2022
979
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class InternationalStudent extends Student {
  2. private String country;
  3. public InternationalStudent() {
  4. super();
  5. }
  6. public InternationalStudent(String name, String address, String school,
  7. double grade, String country) {
  8. super(name, address, school, grade);
  9. this.country = country;
  10. }
  11. public String getCountry() {
  12. return country;
  13. }
  14. public void setCountry(String country) {
  15. this.country = country;
  16. }
  17.  
Advertisement
RAW Paste Data Copied
Advertisement