Created
March 19, 2017 12:24
-
-
Save fermopili/7598413eaaffcb9cbefc21ad5348ff51 to your computer and use it in GitHub Desktop.
com.javarush.task.task13.task1313
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Интерфейс Animal | |
*/ | |
public class Solution { | |
public static void main(String[] args) throws Exception { | |
} | |
public interface Animal { | |
Color getColor(); | |
} | |
public static abstract class Fox implements Animal{ | |
public String getName() { | |
return "Fox"; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment