如果类被定义时,内部有一个抽象属性(abstract attribute),或者在它内部的某些虚成员函数 被声明成抽象的,那么这个类就也是抽象的。 非虚函数不能被声明成抽象的。
基于32个网页-相关网页
attribute-abstract 属性抽取
Perhaps the most obvious attribute of design is that it makes ideas tangible, it takes abstract thoughts and inspirations and makes something concrete.
也许,设计最明显的特点就是它能够将想法变成现实,它能激发抽象的想法和灵感并使他们具体化。
Listing 8 creates two patterns, concrete instances of the abstract pattern given by the is-a attribute -- in this case is-a="table".
清单 8 创建了两个范式,由 is-a 属性给定的抽象范式的具体实例,在该例中属性值为 is-a="table" 。
The Unique attribute implementation class extends the abstract Validator class shown in Listing 6. Its source appears in Listing 10
Unique 属性实现类扩展了 清单 6 中所示的 Validator 抽象类。
应用推荐