@@ -0,0 +1,653 @@
+package by.vorokhobko.Encapsulation.models;%0A%0A/**%0A * Task.%0A *%0A * Class Task to create a new object part 002, lesson 3.%0A * @author Evgeny Vorokhobko (vorokhobko2011@yandex.ru).%0A * @since 24.02.2017.%0A * @version 1.%0A */%0A%0Apublic class Task extends Item %7B%0A%09/**%0A%09* Create constructor.%0A%09* Add Task.%0A%09* @param name - name.%0A%09* @param desc - desc.%0A%09* @param create - create.%0A%09*/%0A%09public Task(String name, String desc, long create) %7B%0A%09%09Item task = new Item();%0A%09%09task.setName(name);%0A%09%09task.setDescription(desc);%0A%09%09task.setCreate(create);%0A%09%7D%0A%09/**%0A%09* Create the method to calculate the value.%0A%09* @return tag.%0A%09*/%0A%09public String calculatePrice() %7B%0A%09%09return %22100%25%22;%0A%09%7D%0A%7D

add class Task