what is the difference between required and Provided interfaces ?
1个回答
展开全部
On the implmentation level a provided interface is the interface implemented by a class (in the most common sense, e.g. a class B implements the interface I). Required interface would be any use of an interface by a component (e.g. if a class A defines a method that has the interface I as a parameter, this means that class A has a required interface I).
required属于A的变量
provided属于A实现的接口
required也用在方法的参数里
学习UML资料
链接
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询