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
package com.javarush.test.level17.lesson10.home05; | |
/* Лишняя синхронизация | |
synchronized существенно замедляет программу, поэтому убери избыточность synchronized внутри методов | |
*/ | |
public class Solution { | |
char[] value; | |
int count; |
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
public class Implementation { | |
public static void main(String[] args) {} | |
public interface Fly { | |
public void fly();} | |
public interface Move { | |
public void move();} | |
public interface Eat { | |
public void eat();} |