@@ -0,0 +1,1931 @@
+package by.vorokhobko.Inheritance;%0A%0A/**%0A * Profession.%0A *%0A * Class Profession parent class for doctor, engineer and teacher part 002, lesson 3.%0A * @author Evgeny Vorokhobko (vorokhobko2011@yandex.ru).%0A * @since 20.01.2017.%0A * @version 1.%0A */%0A%0Apublic class Profession %7B%0A    /**%0A     * The class field.%0A     * Create fields and methods that are common to all inherited classes.%0A     * %D0%A1reating name.%0A     * %D0%A1reating age.%0A     * %D0%A1reating university where the training took place.%0A     * %D0%A1reating recommendations.%0A     * %D0%A1reating average score university.%0A     */%0A    private String name;%0A    private int age;%0A    private String university;%0A    private String recommendations;%0A    private int aScore;%0A    /**%0A     * The constructor of the Profession with parameters.%0A     * @param name - name;%0A     * @param age - age;%0A     * @param university - university;%0A     * @param recommendations - recommendations;%0A     * @param aScore - aScore;%0A     */%0A    private Profession(String name, int age, String university, String recommendations, int aScore) %7B%0A        this.name = name;%0A        this.age = age;%0A        this.university = university;%0A        this.recommendations = recommendations;%0A        this.aScore = aScore;%0A    %7D%0A    /**%0A     * Getter to specify the name.%0A     * @return tag.%0A     */%0A    public String getName() %7B%0A        return this.name;%0A    %7D%0A    /**%0A     * Getter to specify the age.%0A     * @return tag.%0A     */%0A    public int getAge() %7B%0A        return this.age;%0A    %7D%0A    /**%0A     * Getter to specify the university.%0A     * @return tag.%0A     */%0A    public String getUniversity() %7B%0A        return this.university;%0A    %7D%0A    /**%0A     * Getter to specify the recommendations.%0A     * @return tag.%0A     */%0A    public String getRecommendations() %7B%0A        return this.recommendations;%0A    %7D%0A    /**%0A     * Getter to specify the aScore.%0A     * @return tag.%0A     */%0A    public int getAScore() %7B%0A        return this.aScore;%0A    %7D%0A%7D%0A

add class Profession