getCity String in Person class

This commit is contained in:
hesham 2019-04-24 17:40:16 +03:00
parent 02a82cc89d
commit 28dbdbf406

View File

@ -55,4 +55,8 @@ public class Person {
return this.edu.getLevel() == Level.PHD; return this.edu.getLevel() == Level.PHD;
} }
public String getCity(){
return location.getCity();
}
} }