package com.javarush.task.task13.task1323; //Who are you who judge another's servant? To his own lord he stands or falls. //Yes, he will be made to stand, for God has power to make him stand. (Romans 14:4) /* ÐнÑеÑÑÐµÐ¹Ñ Updatable в клаÑÑе Screen */ public class Solution { public static void main(String[] args) throws Exception { } interface Selectable { void onSelect(); } interface Updatable extends Selectable { void refresh(); } class Screen implements Updatable { public void refresh() {} public void onSelect() {} } } /* ÐнÑеÑÑÐµÐ¹Ñ Updatable в клаÑÑе Screen РеализоваÑÑ Ð¸Ð½ÑеÑÑÐµÐ¹Ñ Updatable в клаÑÑе Screen. ТÑебованиÑ: 1.âÐнÑеÑÑÐµÐ¹Ñ Updatable должен наÑледоваÑÑ(extends) инÑеÑÑÐµÐ¹Ñ Selectable. 2.âÐлаÑÑ Screen должен ÑеализовÑваÑÑ(implements) инÑеÑÑÐµÐ¹Ñ Updatable. 3.âРклаÑÑе Screen должен бÑÑÑ Ñеализован меÑод onSelect инÑеÑÑейÑа Selectable. 4.âРклаÑÑе Screen должен бÑÑÑ Ñеализован меÑод refresh инÑеÑÑейÑа Updatable. package com.javarush.task.task13.task1323; * ÐнÑеÑÑÐµÐ¹Ñ Updatable в клаÑÑе Screen * public class Solution { public static void main(String[] args) throws Exception { } interface Selectable { void onSelect(); } interface Updatable extends Selectable { void refresh(); } class Screen { } } */