I have a question about interface. For example I have Interface A with two functions: getName() and getAddress(). Than interface B with function getSalary(). Interface B is instance of interface A. Than class Professor that is subclass or instance of interface B.
I did the UML diagram on TogetherJ 4.02. My question is does is legal for class C implement the functions from interface A ((getName() or getAddress()).
Thanks a lot
I did the UML diagram on TogetherJ 4.02. My question is does is legal for class C implement the functions from interface A ((getName() or getAddress()).
Thanks a lot