направьте в нужное русло public static void addPrice(int applesPrice) { //напишите тут ваш код Apple.applesPrice = applesPrice + addPrice; } } }