Advertisement
Kur23

WAFEGRHDTJFYG

May 16th, 2022
1,173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.41 KB | None | 0 0
  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
Add Comment
Please, Sign In to add comment
Advertisement