public class PaoloMoschini extends Human {
private int mGender;
private int mAge;
private String[] mEducation;
private String[] mSkill;
private String mCurrentJob;
private String[] mInterests;
public PaoloMoschini() {
mGender = 1;
mAge = 36;
mEducation = {"Master of Music - Piano",
"Computer Engineering"};
mSkill = {"Java","Android"};
mCurrentJob = "Android developer";
mInterests = {"Reading",
"Programming",
"GNU/Linux",
"Triathlon",
"Music",
"Videogames"};
startTasks();
}
private void startTasks {
try {
while (true) {
doProgramming();
doReading();
doTriathlon();
Thread.sleep(28800 * 1000);
}
} catch (InterruptedException e) {
e.printStackTrace();
}
}
}