INTERFACES IN JAVA FIRST PART
INTERFACES IN JAVA INTRODUCTION We introduce interfaces in the context of OOP programming. At the beginning of the course, one of the aspects we focused on was the public interface. One of the basic principles by which we must design our classes is that of encapsulation. In particular, we must make attributes private, as well as methods used only by the class, and expose to the outside world the minimum functionality for those who will use our class. ABSTRACT CLASSES Often a set of responsibilities can be identified, defined in a general way, for example, with [...]