You must fully understand which interfaces. In fact, there is only a description of the expectations that the outside world may have about the members of the class. It does not create a member, it simply reports that the specified class indicated the specified method for use in the public domain. So, as you can see by the interface, you can only describe public members.
On the other hand, if you want to declare some private members that are fixed or virtual, you can use classical inheritance with an abstract base class. In this case, you will make all the methods that you want to implement in subclasses as abstract, and implement the methods that you want to define in the base class.
Hope this helps .. Regards
ลukaszW.pl
source share