If public interface drink is public, and public class beer is public and boolean isAlcoholic is default, why do I have to change it to public when implementing it in beer class?
This website uses cookies to provide you with personalized service. By using this website, you agree to our use of cookies. If you require more details, please read our Terms and Policy.